LavaUI docs GitHub

enum DragGesturePhase

Swift

enum DragGesturePhase

Where an .onDragGesture is in its lifetime.

Sources/LavaUI/DragGesture.swift:17

Cases

case began

The press has travelled minimumDistance. Carries where it is now.

Sources/LavaUI/DragGesture.swift:19

case changed

The pointer moved while held, after .began.

Sources/LavaUI/DragGesture.swift:21

case ended

Released. Always follows a .began.

Sources/LavaUI/DragGesture.swift:23