Releases: motiondeveloper/eKeys
Releases · motiondeveloper/eKeys
Custom Interpolators
- Added the option to pass in a custom interpolation function to use when animating between keys.
- Export common easing functions (
easeInOutQuart
,easeInElastic
etc) to use as interpolators
🚨 Breaking changes
A custom input time is now passed in as a property on the options object:
// Animate function API
animate(keys, options: { inputTime?: number, interpolator?: (progress: number) => number });
Bug fixes
Fixed an issue where the value would jump to the next keyframe unexpectidly when a keyValue changed over time.
update to rollup-plugin-ae-jsx v2
4.3.0 add destructuring note
Add version number
Add version number from pkg to output file.
Typescript Migration
- Migrate codebase to typescript
- Fix error when
keyValue
orkeyTime
were0
.
Improved Error Messages
Improved error messages for incorrect input types.
Simplified API
Removed AnimGroup
and replaced with simplified eKeys.animate()
Keyframe Arrays
Notable Changes:
- Keyframe's are now input as an array
- Added type checking for keyframe properties