Any way to know if the filtered list is empty? #220

Closed
echan00 opened this Issue Mar 7, 2014 · 1 comment

Comments

Projects
None yet
2 participants

echan00 commented Mar 7, 2014

I want to make some suggestions or display some functionality only when the search results come up empty.

Edit: Or maybe some way to know when the pagination has no items?

Owner

javve commented Mar 7, 2014

You can use listObj.matchingItems.length
And use the callbacks http://listjs.com/docs/list-api (read on(event, callback))

javve closed this Mar 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment