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

Function ensureDomNode

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

* @unstable * Ensures a dom-node for this view.

()

Source from the content-addressed store, hash-verified

698 * Ensures a dom-node for this view.
699 */
700 public ensureDomNode() {
701 if (!this.domNode) {
702 this.domNode = new DOMNode(this);
703 }
704 }
705
706 // Overridden so we don't raise `propertyChange`
707 // The property will raise its own event.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected