You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not find any documentation about implementing a reset trigger in Isotope so I thought I would share how I got it to work.
Initially I could not get ft.reset(); to work until I finally added var ft = back in. It is absent from the javascript shown in the original Isotope example
var ft = $.filtrify("container", "placeHolder", {
hide : false,
callback : function ( query, match, mismatch ) {
container.isotope({ filter : $(match) });
if ( mismatch.length ) $("div#reset").show();
else $("div#reset").hide();
}
});
$("div#reset > span").click(function() {
ft.reset();
});
Thanks for the plugin Luis!
The text was updated successfully, but these errors were encountered:
I did not find any documentation about implementing a reset trigger in Isotope so I thought I would share how I got it to work.
Initially I could not get ft.reset(); to work until I finally added var ft = back in. It is absent from the javascript shown in the original Isotope example
Thanks for the plugin Luis!
The text was updated successfully, but these errors were encountered: