Class Index | File Index

Classes


Class core.EventNotifier


Defined in: EventNotifier.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
core.EventNotifier(eventIds)
Method Summary
Method Attributes Method Name and Description
 
emit(eventId, args)
<inner>  
init()
<inner>  
register(eventId)
Register an event
 
subscribe(eventId, cb)
 
unsubscribe(eventId, cb)
Class Detail
core.EventNotifier(eventIds)
Parameters:
{!Array.=} eventIds
Method Detail
{undefined} emit(eventId, args)
Parameters:
{!string} eventId
{*} args
Returns:
{undefined}

<inner> {undefined} init()
Returns:
{undefined}

<inner> {undefined} register(eventId)
Register an event
Parameters:
{!string} eventId
Returns:
{undefined}

{undefined} subscribe(eventId, cb)
Parameters:
{!string} eventId
{!Function} cb
Returns:
{undefined}

{undefined} unsubscribe(eventId, cb)
Parameters:
{!string} eventId
{!Function} cb
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:39 GMT+0200 (MESZ)