Type Alias AnimationOptions<T>
AnimationOptions<T>: { delay?: number; duration: number; easing?: string | ((t: number) => number); onTick: ((properties: Record<keyof T, number>,
progress: number) => void); properties: Partial<Record<keyof T, { end: number; start: number; }>>; } Type declaration
Optional
delay?: number
duration: number
Optional
easing?: string | ((t: number) => number)
onTick: ((properties: Record<keyof T, number>, progress: number) => void)
- (properties, progress): void
Parameters
- properties: Record<keyof T, number>
- progress: number
Returns void
properties: Partial<Record<keyof T, {
end: number;
start: number;
}>>
Options for Animation