MCPcopy Create free account
hub / github.com/ampproject/amphtml / mount

Function mount

third_party/set-dom/original.js:271–273  ·  view source on GitHub ↗

* Dispatches a mount event for the given node and children. * * @param {Node} node - the node to mount. * @return {node}

(node)

Source from the content-addressed store, hash-verified

269 * @return {node}
270 */
271function mount (node) {
272 return dispatch(node, 'mount')
273}
274
275/**
276 * Dispatches a dismount event for the given node and children.

Callers 3

setDOMFunction · 0.70
setNodeFunction · 0.70
setChildNodesFunction · 0.70

Calls 1

dispatchFunction · 0.70

Tested by

no test coverage detected