Package Exports
- kween
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kween) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Get started
Install
npm install --save kween
# or
yarn add kweenUse
import { tween, bounceInOut } from 'kween'
tween({
duration: 1000, // in milliseconds
ease: bounceInOut,
onUpdate: (value, progress) => {
// value is eased, progress is linear
console.log(value, progress)
},
})