callbacks.fireWith()


callbacks.fireWith( [context ] [, args ] )Возвращает: Callbacks

Описание: Выполняет все функции объекта callbacks с заданным контекстом.

  • Добавлен в версии: 1.7callbacks.fireWith( [context ] [, args ] )

    • context
      Тип:
      A reference to the context in which the callbacks in the list should be fired.
    • args
      Тип:
      An argument, or array of arguments, to pass to the callbacks in the list.

This method returns the Callbacks object onto which it is attached (this).

Примеры использования