MTGesture

@MainActor
public protocol MTGesture

Defines gestures behaviour.

  • Type of the gesture.

    Declaration

    Swift

    @MainActor
    var type: MTGestureType { get }
  • disable() Asynchronous

    Disables the gesture.

    Declaration

    Swift

    @MainActor
    func disable() async
  • enable() Asynchronous

    Enables the gesture.

    Declaration

    Swift

    @MainActor
    func enable() async