decord/source/5621_useFlingGesture.js

23 lines
767 B
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 5621
// Function ID: 5622
2026-08-24 06:08:38 +00:00
// Name: useFlingGesture
2026-08-25 06:04:03 +00:00
// Dependencies: [5601, 5616, 5592]
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
// Module 5621 (useFlingGesture)
import ComposedGestureName from "ComposedGestureName" /* 5592 */;
import isGestureEnabled from "isGestureEnabled" /* 5601 */;
import useGesture from "useGesture" /* 5616 */;
2026-08-24 06:08:38 +00:00
require = arg1;
const dependencyMap = arg6;
let closure_2 = {};
arg5.useFlingGesture = function useFlingGesture(gestureHandlerProps) {
let tmp = gestureHandlerProps;
if (gestureHandlerProps === undefined) {
tmp = closure_2;
}
const clonedAndRemappedConfig = isGestureEnabled.useClonedAndRemappedConfig(tmp);
const obj = isGestureEnabled;
return useGesture.useGesture(ComposedGestureName.SingleGestureName.Fling, clonedAndRemappedConfig);
};