Usage

FinderJS expects a container HTML element, a data source (Array or Function), and an options object.

finder(container, data, options) .on('leaf-selected', function(item) { console.log('Leaf node selected', item); });

For more information see the README or view the source of the examples above.