Class EventDispatcher

This class contains methods for dispatching events See theEventDispatcher for the one and only one instance of this class

Source : file core/lib/EventDispatcher.js at line 187

Constructor

new EventDispatcher ( )

The constructor

Source : file core/lib/EventDispatcher.js at line 193

Public methods

dispatch ( eventName, eventData )

Creates and dispatch an event to the correct target

Source : file core/lib/EventDispatcher.js at line 203

Parameters

Name Type Description
eventName String

The name of the event

eventData Object

An object to set as data property of the event