UNPKG

@visactor/vrender-animate

Version:

This module provides a graph-based animation system for VRender.

14 lines (13 loc) 570 B
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); protected applyTransientFromAttributes(): void; onBind(): void; onFirstRun(): void; deleteSelfAttr(key: string): void; deleteSelfAttrs(keys: string[]): void; update(end: boolean, ratio: number, out: Record<string, any>): void; }