domnode-at-path
v1.0.0
Published
Supply a path and a root node and receive the node at that path.
Downloads
22
Readme
DOMNode at path
nodeAt(path:Array, rootNode:DOMNode)
path
is an array, where[]
is the root node,[0]
is the first child node and[0,1]
is the second child of the first child of the root node.rootNode
is the reference in respect to which the paths are resolved
Legal
(c) 2016 by Marcel Klehr
MIT-License