Recursively walk the DOM.
Install
yarn add walk-dom
Or grab the latest UMD build.
Usage
Pass a root node and a callback. The callback will receive each node as its only argument.
;
Return false
to stop descending a branch.
;
Recursively walk the DOM.
yarn add walk-dom
Or grab the latest UMD build.
Pass a root node and a callback. The callback will receive each node as its only argument.
;
Return false
to stop descending a branch.
;
npm i walk-dom
0
0.1.3
MIT