Inspire Tree

Demo: Search

You can filter nodes by string, RegExp, or custom functions.

document.querySelector('input').addEventListener('keyup', function(event) {
  tree.search(event.target.value);
});

We recommend using a debounce method to control invocation rates.