UNPKG

@antv/f2

Version:

Charts for mobile visualization.

22 lines (21 loc) 492 B
export type EasingFunction = (t: number) => number; export type InterpolateFunction = (t: number) => any; export interface Animation { easing?: string | EasingFunction; duration: number; delay?: number; property?: string[]; isClip?: boolean; start?: any; end?: any; onFrame?: any; onEnd?: any; } /** * 动画生命周期 */ export interface AnimationCycle { appear?: Animation; update?: Animation; destroy?: Animation; }