package js.jquery
Available on jsnew (flags:String)
A multi-purpose callbacks list object that provides a powerful way to manage callback lists.
add (callbacks:EitherType<Function, Array<Function>>):Callbacks
Add a callback or a collection of callbacks to a callback list.
disable ():Callbacks
Disable a callback list from doing anything more.
disabled ():Bool
Determine if the callbacks list has been disabled.
empty ():Callbacks
Remove all of the callbacks from a list.
fire (arguments:Dynamic):Callbacks
Call all of the callbacks with the given arguments.
fireWith (?context:Dynamic, ?args:Dynamic):Callbacks
Call all callbacks in a list with the given context and arguments.
fired ():Bool
Determine if the callbacks have already been called at least once.
has (?callback:Function):Bool
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.
lock ():Callbacks
Lock a callback list in its current state.
locked ():Bool
Determine if the callbacks list has been locked.
remove (callbacks:EitherType<Function, Array<Function>>):Callbacks
Remove a callback or a collection of callbacks from a callback list.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/jquery/Callbacks.html