MCPcopy
hub / github.com/GoogleChromeLabs/ui-element-samples / _manageNode

Method _manageNode

3d-card-flip/inert.js:153–156  ·  view source on GitHub ↗

* Register the given node with this InertRoot and with InertManager. * @param {Node} node

(node)

Source from the content-addressed store, hash-verified

151 * @param {Node} node
152 */
153 _manageNode(node) {
154 const inertNode = this._inertManager.register(node, this);
155 this._managedNodes.add(inertNode);
156 }
157
158 /**
159 * Unregister the given node with this InertRoot and with InertManager.

Callers 4

_visitNodeMethod · 0.95
_adoptInertRootMethod · 0.95
_onMutationMethod · 0.95
inert.min.jsFile · 0.80

Calls 1

registerMethod · 0.80

Tested by

no test coverage detected