@visactor/vrender-animate
Version:
This module provides a graph-based animation system for VRender.
17 lines (16 loc) • 837 B
TypeScript
import type { IAnimate, IStep, EasingType } from '@visactor/vrender-core';
import { ACustomAnimate } from './custom-animate';
export declare class GrowCenterIn extends ACustomAnimate<Record<string, number>> {
valid: boolean;
constructor(from: null, to: null, duration: number, easing: EasingType, params?: any);
onBind(): void;
onEnd(cb?: (animate: IAnimate, step: IStep) => void): void;
onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
}
export declare class GrowCenterOut extends ACustomAnimate<Record<string, number>> {
valid: boolean;
constructor(from: null, to: null, duration: number, easing: EasingType, params?: any);
onBind(): void;
onEnd(cb?: (animate: IAnimate, step: IStep) => void): void;
onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
}