on()

on(eventName, callback)

Compatibility:
Prebuilt
Custom

Adds event callbacks. See documentation for EventEmitter.