Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JQueryCallback

Interface for the JQuery callback

Hierarchy

  • JQueryCallback

Index

Methods

add

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

    Parameters

    • callbacks: Function

      A function, or array of functions, that are to be added to the callback list.

    Returns JQueryCallback

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

    Parameters

    • callbacks: Function[]

      A function, or array of functions, that are to be added to the callback list.

    Returns JQueryCallback

disable

disabled

  • disabled(): boolean

empty

fire

  • Call all of the callbacks with the given arguments

    Parameters

    • Rest ...arguments: any[]

      The argument or list of arguments to pass back to the callback list.

    Returns JQueryCallback

fireWith

  • Call all callbacks in a list with the given context and arguments.

    Parameters

    • Optional context: any

      A reference to the context in which the callbacks in the list should be fired.

    • Rest ...args: any[]

    Returns JQueryCallback

fired

  • fired(): boolean

has

  • has(callback: Function): boolean
  • Determine whether a supplied callback is in a list

    Parameters

    • callback: Function

      The callback to search for.

    Returns boolean

lock

locked

  • locked(): boolean

remove

  • Remove a callback or a collection of callbacks from a callback list.

    Parameters

    • callbacks: Function

      A function, or array of functions, that are to be removed from the callback list.

    Returns JQueryCallback

  • Remove a callback or a collection of callbacks from a callback list.

    Parameters

    • callbacks: Function[]

      A function, or array of functions, that are to be removed from the callback list.

    Returns JQueryCallback