MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / _removeAnimation

Function _removeAnimation

packages/core/ui/core/view/view-common.ts:1184–1196  ·  view source on GitHub ↗
(animation: Animation)

Source from the content-addressed store, hash-verified

1182 }
1183
1184 public _removeAnimation(animation: Animation): boolean {
1185 const localAnimations = this._localAnimations;
1186 if (localAnimations && localAnimations.has(animation)) {
1187 localAnimations.delete(animation);
1188 if (animation.isPlaying) {
1189 animation.cancel();
1190 }
1191
1192 return true;
1193 }
1194
1195 return false;
1196 }
1197
1198 public resetNativeView(): void {
1199 if (this._localAnimations) {

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.65
cancelMethod · 0.65

Tested by

no test coverage detected