8.6 Released with 🥽 visionOS support and more!
Check it out
Defines an enum for swipe gesture direction.

Summary

Enumeration Members

down
left
right
up

Enumeration Members

down

down: number
Denotes down direction for swipe gesture.

left

left: number
Denotes left direction for swipe gesture.
right: number
Denotes right direction for swipe gesture.

up

up: number
Denotes up direction for swipe gesture.