Functions
-
isLogicalAncestor(ancestorNode, node) : {boolean}
-
Utility function that checks if two DOM nodes are directly or logically connected
Parameters:
Name Type Description ancestorNodeNode the assumed ancestor node nodeNode child node Returns:
true if the two DOM nodes are directly or logically connected, false otherwise.
- Type
- boolean