UNPKG

vevet

Version:

Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.

33 lines 830 B
import { EaseOutCubic } from 'easing-progress'; import { clamp } from '../../utils'; 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, inertia: false, inertiaDuration: (distance) => clamp(distance, 500, 2000), inertiaEasing: EaseOutCubic, velocityModifier: false, inertiaRatio: 1, inertiaDistanceThreshold: 50, }; //# sourceMappingURL=props.js.map