MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / play

Method play

packages/core/ui/animation/index.ios.ts:199–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197 }
198
199 public play(): AnimationPromise {
200 if (this.isPlaying) {
201 return this._rejectAlreadyPlaying();
202 }
203
204 const animationFinishedPromise = super.play();
205 this._finishedAnimations = 0;
206 this._cancelledAnimations = 0;
207 this._iOSAnimationFunction();
208
209 return animationFinishedPromise;
210 }
211
212 public cancel(): void {
213 if (!this.isPlaying) {

Callers 4

toggleMergeGlassMethod · 0.95
theFinalFrontierFunction · 0.95
theFinalFrontierFunction · 0.95

Calls 1

playMethod · 0.65

Tested by

no test coverage detected