UNPKG

926 BTypeScriptView Raw
1import Property from '../Property';
2import Document from './Document';
3import Element from './Element';
4export interface IProgress {
5 from?: Property;
6 to?: Property;
7 progress: number;
8}
9export default class AnimateElement extends Element {
10 type: string;
11 protected readonly begin: number;
12 protected readonly maxDuration: number;
13 protected readonly from: Property;
14 protected readonly to: Property;
15 protected readonly values: Property;
16 protected duration: number;
17 protected initialValue: string;
18 protected initialUnits: string;
19 protected removed: boolean;
20 protected frozen: boolean;
21 constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
22 protected getProperty(): Property<any>;
23 calcValue(): string;
24 update(delta: number): boolean;
25 getProgress(): IProgress;
26}
27//# sourceMappingURL=AnimateElement.d.ts.map
\No newline at end of file