MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / isInDocument

Function isInDocument

examples/simple/react.js:10015–10017  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

10013var getActiveElement = _dereq_(138);
10014
10015function isInDocument(node) {
10016 return containsNode(document.documentElement, node);
10017}
10018
10019/**
10020 * @ReactInputSelection: React input selection module. Based on Selection.js,

Callers 1

react.jsFile · 0.85

Calls 1

containsNodeFunction · 0.85

Tested by

no test coverage detected