Node
↔ DOM Interface & Abstract Class upon which every member in DOM Tree are based
aka Nodes
Document
DOM Interface to rep Root of document
Element
abstract DOM Interface to Delegate some useful props/methods
Root
Parent
Node
directly above a given Node
Child
Node
directly below a given Node
Sibling
Ascendant
any Parent Node
(or above up to Root)
Descendant
any Child (& sub children) Node
s
Node Nesting
(process) to organize Node
into DOM Tree
References
Event
↔ Interface Object to rep actions, autogen by DOMNode
after Signal TriggerNode Hierachy
↔ tree-like relationship betweenNode
s in DOM TreeDOM Tree
↔ Tree-like structure ofNode
, autogen by HTMLdocument
Descendant
↔ any Child (& sub children)Node
sNode Nesting
↔ (process) to organizeNode
into DOM TreefindDOMNode()
↔ deprecatedReactDOM API
Escape Hatch to access DOM APINode
.nextSibling
↔ to select nextNode
.previousSibling
↔ to select previousNode
.parentNode
↔ to select direct ParentNode
DOM Traversal
↔ (process) to walk through DOM API ; to select ElementNode
relative to each other.insertBefore()
↔ to insert(_Node)
before currentNode
.querySelector()
↔ to return singleNode
to match query stringquery string
↔ argstring
to matchNode
for.querySelector()
&.querySelectorAll()
.parentNode
↔ to return ParentNode
.nodeValue
↔ to return/setNode
value.childNodes
↔ to returnNodeList
of Child Nodes.contains()
↔ to returnboolean
if argNode
is descendent of callingNode
scrollIntoView()
↔ to scroll toNode
.appendChild()
↔ to appendchildNode
arg to currentNode