Documentation

Plugins/livequery/expire

From jQuery JavaScript Library

Jump to: navigation, search

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

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.

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.

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.