IT. Expert System.

JQUERY

callbacks.firedWith()


Description

The callbacks.firedWith() method calls all callbacks in a list with the given context and arguments.


v1.7

This method has the form:

callbacks.firedWith([context] [, args])
Parameter Description
context (optional) Specifies a reference to the context in which the callbacks in the list should be fired
args (optional) Specifies an argument, or array of arguments, to pass to the callbacks in the list

Return Value

This form return is undefined.

Examples

Use the callbacks.firedWith() method to fire a list of callbacks with a specific context and an array of arguments:

// a sample logging function to be added to a callbacks list
var log = function(value1, value2){
  console.log('Received:' + value1 + ',' + value2 );
}

var callbacks = $.Callbacks();

// add the log method to the callbacks list

callbacks.add(log);

// fire the callbacks on the list using the context 'window'
// and an arguments array
callbacks.fireWith(window, ['foo','bar']);

// output is: Received: foo, bar


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 698 / 158776295. Delta: 0.02504 с