W3cubDocs

/Haxe Flash

IEventDispatcher

package flash.events

implemented by EventDispatcher

Available on flash

Methods

@:value({ useWeakReference : false, priority : 0, useCapture : false }) addEventListener (type:String, listener:Dynamic ‑> Void, useCapture:Bool = false, priority:Int = 0, useWeakReference:Bool = false):Void

dispatchEvent (event:Event):Bool

hasEventListener (type:String):Bool

@:value({ useCapture : false }) removeEventListener (type:String, listener:Dynamic ‑> Void, useCapture:Bool = false):Void

willTrigger (type:String):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/events/IEventDispatcher.html