animation-controller.d.ts 994 B

12345678910111213141516171819202122232425
  1. import type { Animation } from '@ionic/core';
  2. import * as i0 from "@angular/core";
  3. export declare class AnimationController {
  4. /**
  5. * Create a new animation
  6. */
  7. create(animationId?: string): Animation;
  8. /**
  9. * EXPERIMENTAL
  10. *
  11. * Given a progression and a cubic bezier function,
  12. * this utility returns the time value(s) at which the
  13. * cubic bezier reaches the given time progression.
  14. *
  15. * If the cubic bezier never reaches the progression
  16. * the result will be an empty array.
  17. *
  18. * This is most useful for switching between easing curves
  19. * when doing a gesture animation (i.e. going from linear easing
  20. * during a drag, to another easing when `progressEnd` is called)
  21. */
  22. easingTime(p0: number[], p1: number[], p2: number[], p3: number[], progression: number): number[];
  23. static ɵfac: i0.ɵɵFactoryDeclaration<AnimationController, never>;
  24. static ɵprov: i0.ɵɵInjectableDeclaration<AnimationController>;
  25. }