bongzilla

Untitled

Jun 7th, 2021
50
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function() {
  2. var projectsGrid = new FsLibrary('.list')
  3. var myFilters = [
  4. {
  5. filterWrapper: ".filters-source",
  6. filterType: "multi"
  7. },
  8. {
  9. filterWrapper: ".filters-type",
  10. filterType: "multi"
  11. },
  12. {
  13. filterWrapper: ".filters-stars",
  14. filterType: "multi",
  15. filterByClass: ".js-filter-stars"
  16. }
  17. ]
  18.  
  19. projectsGrid.filter({
  20. filterArray: myFilters, // the filter group name we defined
  21. activeClass: 'fltr-active', // the active class we give to our buttons
  22. filterReset:'.filter-reset-master', // reset all active filter button
  23. emptyMessage: '.empty-message',
  24. animation: {
  25. enable: false,
  26. }
  27. })
  28. })();
RAW Paste Data