34 lines
1.4 KiB
JavaScript
34 lines
1.4 KiB
JavaScript
// Metro module 5324 (f5325).
|
|
import { TapGesture } from "./TapGesture";
|
|
import { PanGesture } from "./changeEventCalculator_5326";
|
|
import { PinchGesture } from "./changeEventCalculator_5327";
|
|
import { RotationGesture } from "./changeEventCalculator_5328";
|
|
import { FlingGesture } from "./FlingGesture";
|
|
import { LongPressGesture } from "./LongPressGesture";
|
|
import { ForceTouchGesture } from "./changeEventCalculator_5331";
|
|
import { NativeGesture } from "./NativeGesture";
|
|
import { ManualGesture } from "./changeEventCalculator_5333";
|
|
import { HoverGesture } from "./changeEventCalculator";
|
|
import { ComposedGesture, SimultaneousGesture, ExclusiveGesture } from "./ComposedGesture";
|
|
export const GestureObjects = {
|
|
Tap: () => new TapGesture(),
|
|
Pan: () => new PanGesture(),
|
|
Pinch: () => new PinchGesture(),
|
|
Rotation: () => new RotationGesture(),
|
|
Fling: () => new FlingGesture(),
|
|
LongPress: () => new LongPressGesture(),
|
|
ForceTouch: () => new ForceTouchGesture(),
|
|
Native: () => new NativeGesture(),
|
|
Manual: () => new ManualGesture(),
|
|
Hover: () => new HoverGesture(),
|
|
Race: function Race() {
|
|
return new ComposedGesture(...[...Array.prototype.slice.call(arguments, 0)]);
|
|
},
|
|
Simultaneous: function Simultaneous() {
|
|
return new SimultaneousGesture(...[...Array.prototype.slice.call(arguments, 0)]);
|
|
},
|
|
Exclusive: function Exclusive() {
|
|
return new ExclusiveGesture(...[...Array.prototype.slice.call(arguments, 0)]);
|
|
}
|
|
};
|