Skip to main content
cngx-src documentation

SwipeAxis

Type Aliascommon/interactive/gestures

projects/common/interactive/gestures/swipe-direction.ts

Referenced by#

Description#

Axis a swipe gesture is allowed to register on. 'x' accepts left/right, 'y' accepts up/down, 'both' accepts any dominant axis.

Definition#

"x" | "y" | "both"