Contents

ContentHoverEffect

A CustomHoverEffect that applies effects to a view on hover using a closure.

Declaration

struct ContentHoverEffect<Effect> where Effect : HoverEffectContent

Overview

Use the hoverEffect(in:isEnabled:body:) method or the CustomHoverEffect/hoverEffect(in:isEnabled:body:) or hoverEffect(in:isEnabled:body:) modifiers to create content effects.

See Also

Changing view appearance for hover events