new EventDispatcher()
Event dispatcher Object
- Source:
- flowchart/js/flowchart.js, line 24
Methods
-
emit(evt_name, params)
Emits an event
-
Parameters:
Name Type Description evt_nameString The event name paramsObject Object parameter to be passed to the invoked function listening to the event - Source:
- flowchart/js/flowchart.js, line 49
Returns:
void -
register(evt_name, bind, callback)
Registers a listener
-
Parameters:
Name Type Description evt_nameString The event name bindMixed The context passed to the callback function callbackFunction Function executed when the event occurres, the event name and an object of properties are the arguiments passed to the function. - Source:
- flowchart/js/flowchart.js, line 35
Returns:
void