Isotope: reset all combination filters

前端 未结 2 1324
臣服心动
臣服心动 2021-02-05 16:57

I have an isotope combination filter setup with a number of data-filter-group\'s, each with a rest/show all list item:

  • 2条回答
    •  心在旅途
      2021-02-05 17:32

      As the poster didn't put his answer in an answer, here it is for people who get to this question and don't see that there's an answer


      Following code resets isotop filter:

      $(".isotope-reset").click(function(){
          $(".content ul.sort").isotope({
              filter: '*'
          });
      });
      

    提交回复
    热议问题