📜  isotope cdn - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:56.201000             🧑  作者: Mango

代码示例2
// isotope cdn


// isotope call
// init Isotope
var $grid = $('.grid').isotope({ });

// filter items on button click
$('.filter-button-group').on( 'click', 'button', function() {
  var filterValue = $(this).attr('data-filter');
  $grid.isotope({ filter: filterValue });
});