HexagonJS
Event Emitter Changelog
1.8.0
hx.EventEmitter
Bugfix
#179
Updated the off method to clean up the internal objects when removing the last listener for a namespace
0.13.0
hx.EventEmitter
suppressedEventEmitter
Added
Sets whether events of a particular name should be suppressed (not emitted).
hx.EventEmitter
suppressedBoolean
Added
Gets whether events of a particular name are being suppressed.
0.11.0
hx.EventEmitter
deregisterEventEmitter
Removed
eventEmitter.off('event-name', [callback])
hx.EventEmitter
deregisterAllEventEmitter
Removed
eventEmitter.off()
0.10.0
hx.EventEmitter
Removed
The new on method has an optional namespace parameter
hx.EventEmitter
Removed
The new off method has an optional namespace parameter
hx.EventEmitter
deregisterEventEmitter
Deprecated
Use eventEmitter.off('event-name', [callback]) instead.
hx.EventEmitter
deregisterAllEventEmitter
Deprecated
Use eventEmitter.off() instead
hx.EventEmitter
Added
Register a callback that will be called whenever an event is emitted under the given name
hx.EventEmitter
Added
De-register a callback that was registered under the given name. If called with no arguments, all handlers will be removed from the event emitter for all names and namespaces.