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

Method disposeNativeView

packages/core/ui/switch/index.ios.ts:52–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 public disposeNativeView() {
53 this._handler = null;
54 if (this._toggleColorTimer) {
55 clearTimeout(this._toggleColorTimer);
56 this._toggleColorTimer = null;
57 }
58 super.disposeNativeView();
59 }
60
61 private setNativeBackgroundColor(value: UIColor | Color) {
62 const native = this.nativeViewProtected;

Callers

nothing calls this directly

Calls 1

clearTimeoutFunction · 0.50

Tested by

no test coverage detected