- animate(start: number, end: number, callback: ((val: number) => void), duration: number, endCallback?: Function, easeType?: string): number
-
Parameters
-
start: number
-
end: number
-
callback: ((val: number) => void)
-
- (val: number): void
-
Returns void
-
duration: number
-
Optional
endCallback: Function
-
easeType: string = "ease-in"
Returns number