i am trying to impliment Filterizr plugin (https://yiotis.net/filterizr/#/tutorials/quickstart) on my project, and i need exactly mix filter as presented on this tutorial page https://yiotis.net/filterizr/#/tutorials/filtering
if click on mix button as shown on scrennshots, we see only orange and purpels blocks - this is what exactly i needed, but it is not working.
I build my own demo using that plugin, but still not working.
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/filterizr/2.2.4/jquery.filterizr.min.js"></script>
<title>Hello, world!</title>
</head>
<body>
<h1>filter</h1>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<div class="container">
<div style="cursor:pointer;" class="col-md-12 col-xs-12">
<ul>
<li data-filter="all">All</li>
<li data-filter="1">1</li>
<li data-filter="2">2</li>
<li data-filter="1,2">1 and 2</li>
</ul>
</div>
</div>
<h1>items</h1>
<div style="margin: 40px;" class="row filtr-container">
<div style="border: 4px black;" class="col-md-2 col-sm-6 filtr-item" data-category="all,1">
<span>1</span>
</div>
<div style="border: 4px black;" class="col-md-2 col-sm-6 filtr-item" data-category="all,2">
<span>2</span>
</div>
<div style="border: 4px black;" class="col-md-2 col-sm-6 filtr-item" data-category="all">
<span>3</span>
</div>
</div>
<script>
$('.filtr-container').filterizr({});
</script>
</body>
</html>
if click on "1 and 2" filter - expected to see 1 and 2 items, as in example on this https://yiotis.net/filterizr/#/tutorials/filtering - Mix , but not working. I am stuck, need some advice.