Methods
(static) getEvent(eventType, jsonContent)
Returns a CustomEvent
Parameters:
Name | Type | Description |
---|---|---|
eventType |
string | type of event, must exist in EVENT_TYPES |
jsonContent |
object | json object stored in the detail attribute of the event |