jquery/jquery-mobile — Issue #3163: Events for lists view filtering starting/stopping
Author: offsky
Created: 2011-11-25 07:14:07+00:00
State: open

It would be really handy to have events triggered when a listview filter starts and when it is canceled. This way we can update our UI to reflect that the list is or isn't being filtered. I know that there are workarounds for this, such as having a high-frequency timer checking the state of the list, or biding to the keyup event of input box with a slight delay to allow JQM to finish the filter, but it would be nice to have a more elegant solution. Something like:

```
$( '#myList' ).live( 'filterStart',function(event,listview){
alert( 'This listview just got filtered' );
});
$( '#myList' ).live( 'filterEnd',function(event,listview){
alert( 'This listview filter was just canceled' );
});