Contents

hoverEffectGroup(_:)

Creates an effect that activates a named group of effects.

Declaration

static func hoverEffectGroup(_ group: HoverEffectGroup?) -> GroupHoverEffect

Parameters

  • group:

    The HoverEffectGroup to activate when this view is hovered. If nil, this modifier has no effect.

Return Value

An effect that activates the given hover group.