Category: Callbacks Object

The jQuery.Callbacks() function, introduced in version 1.7, returns a multi-purpose object that provides a powerful way to manage callback lists. It supports adding, removing, firing, and disabling callbacks.

callbacks.add()

Add a callback or a collection of callbacks to a callback list.

callbacks.fired()

Determine if the callbacks have already been called at least once.

callbacks.has()

Determine whether or not the list has any callbacks attached. If a callback is provided as an argument, determine whether it is in a list.

jQuery.Callbacks()

A multi-purpose callbacks list object that provides a powerful way to manage callback lists.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/callbacks-object