Updated animate method to accept a custom ease function as per the docs (https://svgjs.com/docs/2.7/animating/#easing)
}\r
}\r
interface Element {\r
- animate(duration?: number, ease?: string, delay?: number): Animation;\r
- animate(info: { ease?: string; duration?: number; delay?: number }): Animation;\r
+ animate(duration?: number, ease?: string | ((pos: number) => number), delay?: number): Animation;\r
+ animate(info: { ease?: string | ((pos: number) => number); duration?: number; delay?: number }): Animation;\r
stop(jumpToEnd:boolean,clearQueue:boolean): Animation;\r
}\r
// TODO finishs FX\r
\r
// TODO style, etc, bbox...\r
}\r
-}
\ No newline at end of file
+}\r