MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / isInDOMSubtrees

Function isInDOMSubtrees

src/TooltipPopoverWrapper.js:68–76  ·  view source on GitHub ↗
(element, subtreeRoots = [])

Source from the content-addressed store, hash-verified

66}
67
68function isInDOMSubtrees(element, subtreeRoots = []) {
69 return (
70 subtreeRoots &&
71 subtreeRoots.length &&
72 subtreeRoots.filter((subTreeRoot) =>
73 isInDOMSubtree(element, subTreeRoot),
74 )[0]
75 );
76}
77
78class TooltipPopoverWrapper extends React.Component {
79 constructor(props) {

Callers 1

handleDocumentClickFunction · 0.85

Calls 1

isInDOMSubtreeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…