MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getOwnerDocumentFromRootContainer

Function getOwnerDocumentFromRootContainer

code/styling/public/app.js:16114–16116  ·  view source on GitHub ↗
(rootContainerElement)

Source from the content-addressed store, hash-verified

16112}
16113
16114function getOwnerDocumentFromRootContainer(rootContainerElement) {
16115 return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
16116}
16117
16118function trapClickOnNonInteractiveElement(node) {
16119 // Mobile Safari does not fire properly bubble click events on

Callers 2

createElement$1Function · 0.70
createTextNode$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected