vevet
Version:
Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.
43 lines • 1.03 kB
JavaScript
export const STATIC_PROPS = {
__staticProp: true,
container: null,
thumb: null,
buttons: [0],
pointers: 1,
disableUserSelect: true,
};
export const MUTABLE_PROPS = {
__mutableProp: true,
enabled: true,
relative: false,
axis: null,
ratio: 1,
grabCursor: false,
willAbort: () => false,
threshold: 5,
minTime: 0,
directionThreshold: 50,
preventEdgeSwipe: true,
edgeSwipeThreshold: 20,
preventTouchMove: true,
requireCtrlKey: false,
bounceDuration: 250,
overflow: () => 50,
inertia: false,
inertiaDecay: 0.05,
inertiaBounceEase: 0.3,
inertiaRatio: 1,
inertiaThreshold: 1,
maxVelocity: { x: 7, y: 7, angle: 3 },
bounds: null,
recalculateBoundsOnInertia: true,
snap: null,
canBounce: () => true,
snapRadius: null,
inertiaDuration: null,
inertiaEasing: null,
velocityModifier: null,
inertiaDistanceThreshold: null,
inertiaDistanceModifier: null,
};
//# sourceMappingURL=props.js.map