simonexmachina / jquery-bonsai

Super lightweight jQuery tree plugin
http://simonwade.me/jquery-bonsai
MIT License
148 stars 42 forks source link

Add methods to select all/none. #34

Open ppo opened 7 years ago

ppo commented 7 years ago

Add getCheckboxes(listItem), selectAll(listItem), and selectNone(listItem).

ppo commented 7 years ago

Bug: Duplicate checkboxes are not changed when specifying a listItem.

simonexmachina commented 7 years ago

You probably need to call .change() so that event listeners are notified.