EventDispatcher
open class EventDispatcher : IEventDispatcher
flash.events.EventDispatcher for Swift
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public init(target: AnyObject)
-
Undocumented
Declaration
Swift
public func addEventListener(_ type: Event.Name, selector: Selector, observer: AnyObject? = nil, useCapture: Bool = false)
-
Undocumented
Declaration
Swift
public func removeEventListener(_ type: Event.Name, selector: Selector, observer: AnyObject? = nil, useCapture: Bool = false)
-
Undocumented
Declaration
Swift
open func dispatch(event: Event)
-
Undocumented
Declaration
Swift
public func dispatch(_ type: Event.Name, bubbles: Bool, data: Any?)