Vestride / Shuffle

Categorize, sort, and filter a responsive grid of items

Home Page:https://vestride.github.io/Shuffle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding to Remove All By Group or All at Once Filters in Compound Filters

Behseini opened this issue · comments

Demo

Can you please take a look at above demo and let me know how I can add new event listener to the #cb-allcolors , #cb-allshapes, and #cb-all checkboxes to remove filters from the shuffle js?

What I would like to do is when user clicks on #cb-allcolors checkbox this will uncheck all checkboxes in the js-colors and refresh(re-load) the shuffle based on new changes.

Thanks

To clear all filters, you can

shuffleInstance.filter(Shuffle.ALL_ITEMS); // or .filter()

https://vestride.github.io/Shuffle/#filters