Function: gestureAction()
gestureAction(
gestures,gesture):"undo"|"redo"|"copy"|"paste"|undefined
Defined in: src/lib/utils/gestures/index.ts:96
The action a gesture does, if any.
Parameters
gestures
gesture
"tap2" | "tap3" | "swipeLeft3" | "swipeRight3" | "swipeUp3" | "swipeDown3" | "swipeOut3" | "swipeIn3"
Returns
"undo" | "redo" | "copy" | "paste" | undefined
Example
gestureAction(DEFAULT_GESTURES, "tap2"); // "undo"