« Back to Plugins/livequery

[edit]

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.

[edit]

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.
Arguments:
typeString
An event type.

[edit]

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:
typeString
An event type.
fnFunction
The function reference initially used to setup the live query.

[edit]

expire( matchedFn )

This will stop/expire all live queries associated with the selector and matchedFn.
Arguments:
matchedFnFunction
The function reference initially used to setup the live query.

[edit]

expire( matchedFn, unmatchedFn )

This will stop/expire all live queries associated with the selector, matchedFn and unmatchedFn.
Arguments:
matchedFnFunction
The function reference initially used to setup the live query.
unmatchedFnFunction
The function reference initially used to setup the live query.