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.

36 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MUTABLE_PROPS = exports.STATIC_PROPS = void 0; var easing_progress_1 = require("easing-progress"); var utils_1 = require("../../utils"); exports.STATIC_PROPS = { __staticProp: true, container: null, thumb: null, buttons: [0], pointers: 1, disableUserSelect: true, }; exports.MUTABLE_PROPS = { __mutableProp: true, enabled: true, relative: false, axis: null, ratio: 1, grabCursor: false, willAbort: function () { return false; }, threshold: 5, minTime: 0, directionThreshold: 50, preventEdgeSwipe: true, edgeSwipeThreshold: 20, preventTouchMove: true, requireCtrlKey: false, inertia: false, inertiaDuration: function (distance) { return (0, utils_1.clamp)(distance, 500, 2000); }, inertiaEasing: easing_progress_1.EaseOutCubic, velocityModifier: false, inertiaRatio: 1, inertiaDistanceThreshold: 50, }; //# sourceMappingURL=props.js.map