Module: utils/DOMPostOrder

Post-order DOM traversal helper.

Methods

(inner) DOMPostOrder(root, visitFunc)

Non-recursive post-order traversal of a DOM tree.

Non-recursive post-order traversal of a DOM tree.

Parameters:
Name Type Description
root Node
visitFunc function

Called in post-order on each node.

Source: