Im using Isotope with a large dataset and I would like to limit the number of displayed results.
If I have a text filter like this:
$container.isotope({ filter: function()
{
var text = document.getElementById('searchTerm').value;
var filter = new RegExp("^"+text, "i");
return tag.match(filter);
});
How can I set this limit?
Thank you