interpol
interpol copied to clipboard
Interpolate values with a GSAP like API.
The goal is to create a function witch return a Interpol instance and takes params like gsap does. ```ts const tween = itp(element, { x: "10px", // will extract value...
`onStart` on `play()` method : - [x] exec Interpol `onStart` on `play()` only if we start from `0` - [x] exec Timeline `onStart` on `play()` only if we start from...
fix #184 Access to some global properties via `engine` object: before: ```ts import { InterpolOptions } from "@wbe/interpol" InterpolOptions.ticker.add(()=> {}) ``` after: ```ts import { engine } from "@wbe/interpol" engine.ticker.add(()=>...