最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

返回值:undefinedcallbacks.fire(arguments)

概述

禁用回調(diào)列表中的回調(diào)

參數(shù)

argumentsV1.7

這個(gè)參數(shù)或參數(shù)列表傳回給回調(diào)列表。

示例

描述:

使用 callbacks.fire() 用任何已傳遞的參數(shù)調(diào)用列表中的回調(diào):

jQuery 代碼:
// a sample logging function to be added to a callbacks list
var foo = function( value ){
    console.log( 'foo:' + value );
}

var callbacks = $.Callbacks();

// add the function 'foo' to the list
callbacks.add( foo );

// fire the items on the list
callbacks.fire( 'hello' ); // outputs: 'foo: hello'
callbacks.fire( 'world '); // outputs: 'foo: world'

// add another function to the list
var bar = function( value ){
    console.log( 'bar:' + value );
} 

// add this function to the list
callbacks.add( bar );

// fire the items on the list again
callbacks.fire( 'hello again' );
// outputs:
// 'foo: hello again'
// 'bar: hello again'
大安市| 密山市| 白城市| 安丘市| 潼南县| 南平市| 定日县| 吉水县| 藁城市| 天长市| 石首市| 西和县| 安泽县| 伊春市| 大石桥市| 保亭| 马尔康县| 东光县| 微博| 阜宁县| 西平县| 离岛区| 武夷山市| 石首市| 宜丰县| 揭东县| 拉孜县| 浏阳市| 小金县| 板桥市| 梁河县| 洪湖市| 伊通| 察哈| 泗洪县| 岐山县| 富宁县| 临沧市| 洞头县| 顺昌县| 宜君县|