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

Function _removeViewCore

packages/core/ui/core/view-base/index.ts:1077–1083  ·  view source on GitHub ↗

* Method is intended to be overridden by inheritors and used as "protected"

(view: ViewBase)

Source from the content-addressed store, hash-verified

1075 * Method is intended to be overridden by inheritors and used as "protected"
1076 */
1077 public _removeViewCore(view: ViewBase) {
1078 this.unloadView(view);
1079
1080 if (view._context) {
1081 view._tearDownUI();
1082 }
1083 }
1084
1085 /**
1086 * Creates a native view.

Callers

nothing calls this directly

Calls 1

_tearDownUIMethod · 0.80

Tested by

no test coverage detected