From jQuery JavaScript Library
« Back to Plugins/livequery
expire( )
This will stop/expire all live queries associated with the selector.
Event based live queries unbind the events it bound when expired. The second function (unmatchedFn) of a function based live query is called for each element it had matched, if provided.
expire( type )
This will stop/expire all live queries associated with the selector and event type.
All events that the live query bound will be unbound.
expire( type, fn )
This will stop/expire all live queries associated with the selector, event type and handler.
All events that the live query bound will be unbound.
Arguments:| type | String | |
|---|
| An event type. |
| fn | Function | |
|---|
| The function reference initially used to setup the live query. |
expire( matchedFn )
This will stop/expire all live queries associated with the selector and matchedFn.
Arguments:| matchedFn | Function | |
|---|
| The function reference initially used to setup the live query. |
expire( matchedFn, unmatchedFn )
This will stop/expire all live queries associated with the selector, matchedFn and unmatchedFn.
Arguments:| matchedFn | Function | |
|---|
| The function reference initially used to setup the live query. |
| unmatchedFn | Function | |
|---|
| The function reference initially used to setup the live query. |