UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

13 lines (12 loc) 400 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function easeInOutCubic(current, start, end, duration) { let elapsed = end - start; let time = current / (duration / 2); if (time < 1) { return elapsed / 2 * time * time * time + start; } time -= 2; return elapsed / 2 * (time * time * time + 2) + start; } exports.easeInOutCubic = easeInOutCubic;