package js.jquery
Available on js new (flags:String)A multi-purpose callbacks list object that provides a powerful way to manage callback lists.
add (callbacks:EitherType<Function, Array<Function>>):CallbacksAdd a callback or a collection of callbacks to a callback list.
disable ():CallbacksDisable a callback list from doing anything more.
disabled ():BoolDetermine if the callbacks list has been disabled.
empty ():CallbacksRemove all of the callbacks from a list.
fire (arguments:Dynamic):CallbacksCall all of the callbacks with the given arguments.
fireWith (?context:Dynamic, ?args:Dynamic):CallbacksCall all callbacks in a list with the given context and arguments.
fired ():BoolDetermine if the callbacks have already been called at least once.
has (?callback:Function):BoolDetermine 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 ():CallbacksLock a callback list in its current state.
locked ():BoolDetermine if the callbacks list has been locked.
remove (callbacks:EitherType<Function, Array<Function>>):CallbacksRemove 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