react-native-zoom-toolkit
Version:
Smoothly zoom any image, video or component you want!
34 lines (32 loc) • 1.32 kB
JavaScript
export let SwipeDirection = /*#__PURE__*/function (SwipeDirection) {
SwipeDirection[SwipeDirection["UP"] = 0] = "UP";
SwipeDirection[SwipeDirection["DOWN"] = 1] = "DOWN";
SwipeDirection[SwipeDirection["LEFT"] = 2] = "LEFT";
SwipeDirection[SwipeDirection["RIGHT"] = 3] = "RIGHT";
return SwipeDirection;
}({});
/**
* @description Determine how your component must behave when it reaches the specified boundaries
* by its enclosing container.
*/
export let PanMode = /*#__PURE__*/function (PanMode) {
PanMode[PanMode["CLAMP"] = 0] = "CLAMP";
PanMode[PanMode["FREE"] = 1] = "FREE";
PanMode[PanMode["FRICTION"] = 2] = "FRICTION";
return PanMode;
}({});
/**
* @description Determine how your component must behave when the pinch gesture's scale value
* exceeds the specified boundaries by minScale and maxScale properties.
*/
export let ScaleMode = /*#__PURE__*/function (ScaleMode) {
ScaleMode[ScaleMode["CLAMP"] = 0] = "CLAMP";
ScaleMode[ScaleMode["BOUNCE"] = 1] = "BOUNCE";
return ScaleMode;
}({});
export let PinchCenteringMode = /*#__PURE__*/function (PinchCenteringMode) {
PinchCenteringMode[PinchCenteringMode["CLAMP"] = 0] = "CLAMP";
PinchCenteringMode[PinchCenteringMode["INTERACTION"] = 1] = "INTERACTION";
return PinchCenteringMode;
}({});
//# sourceMappingURL=types.js.map