Methods
add(eventType, listener) → {String}
Parameters:
Name | Type | Description |
---|---|---|
eventType |
String | |
listener |
function |
Returns:
an identifier that can be used later to unregister this listener
- Type
- String
fire(eventType, payload)
Parameters:
Name | Type | Description |
---|---|---|
eventType |
String | |
payload |
Object |
remove(listenerKey)
- Description:
Remove the listener given the string provided during registration.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
listenerKey |
String |