element-plus
Version:
A Component Library for Vue 3
11 lines (7 loc) • 330 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const cubic = (value) => Math.pow(value, 3);
const easeInOutCubic = (value) => value < 0.5 ? cubic(value * 2) / 2 : 1 - cubic((1 - value) * 2) / 2;
exports.cubic = cubic;
exports.easeInOutCubic = easeInOutCubic;
//# sourceMappingURL=animation.js.map