AnimateElement.d.ts 936 B

123456789101112131415161718192021222324252627
  1. import Property from '../Property';
  2. import Document from './Document';
  3. import Element from './Element';
  4. export interface IProgress {
  5. from?: Property;
  6. to?: Property;
  7. progress: number;
  8. }
  9. export 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<string[]>;
  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