TapGesture

public struct TapGesture : Gesture, ExecutableGesture

This type will handle events of a user’s tap gesture.

  • Declaration

    Swift

    public var onChanged: ((`Self`.Value) -> Void)?
  • Declaration

    Swift

    public var onEnded: ((`Self`.Value) -> Void)?
  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public var body: TapGesture { get }

ExecutableGesture

  • Declaration

    Swift

    public typealias Value = Void