@visactor/vrender-animate
Version:
This module provides a graph-based animation system for VRender.
12 lines (11 loc) • 475 B
TypeScript
import type { EasingType } from '@visactor/vrender-core';
import { ACustomAnimate } from './custom-animate';
export declare class FromTo extends ACustomAnimate<Record<string, number>> {
valid: boolean;
keys: string[];
constructor(from: null, to: null, duration: number, easing: EasingType, params?: any);
onBind(): void;
onFirstRun(): void;
deleteSelfAttr(key: string): void;
update(end: boolean, ratio: number, out: Record<string, any>): void;
}