UNPKG

1.3 kBTypeScriptView Raw
1import { AnimationDefinitionInternal, AnimationPromise } from './animation-common';
2import { AnimationBase, CubicBezierAnimationCurve } from './animation-common';
3export * from './animation-common';
4export { KeyframeAnimation, KeyframeAnimationInfo, KeyframeDeclaration, KeyframeInfo } from './keyframe-animation';
5export declare function _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | android.view.animation.Interpolator | android.view.animation.LinearInterpolator): android.view.animation.Interpolator;
6export declare class Animation extends AnimationBase {
7 private _animatorListener;
8 private _nativeAnimatorsArray;
9 private _animatorSet;
10 private _animators;
11 private _propertyUpdateCallbacks;
12 private _propertyResetCallbacks;
13 private _valueSource;
14 private _target;
15 private _resetOnFinish;
16 constructor(animationDefinitions: Array<AnimationDefinitionInternal>, playSequentially?: boolean);
17 play(resetOnFinish?: boolean): AnimationPromise;
18 cancel(): void;
19 _resolveAnimationCurve(curve: string | CubicBezierAnimationCurve | android.view.animation.Interpolator): android.view.animation.Interpolator;
20 protected _play(): void;
21 private _onAndroidAnimationEnd;
22 private _onAndroidAnimationCancel;
23 private _createAnimators;
24}