We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bebc2a commit b3cd887Copy full SHA for b3cd887
nativescript-angular/animations/animation-player.ts
@@ -59,11 +59,10 @@ export class NativeScriptAnimationPlayer implements AnimationPlayer {
59
}
60
61
pause(): void {
62
- throw new Error("AnimationPlayer.pause method is not supported!");
63
64
65
finish(): void {
66
- throw new Error("AnimationPlayer.finish method is not supported!");
+ this.onFinish();
67
68
69
reset(): void {
@@ -83,8 +82,6 @@ export class NativeScriptAnimationPlayer implements AnimationPlayer {
83
82
84
destroy(): void {
85
traceLog(`NativeScriptAnimationPlayer.destroy`);
86
-
87
- this.reset();
88
this.onFinish();
89
90
0 commit comments