EventContext class
Release 1.3 - ...
The EventContext object is passed when client side events are triggered from Smartlets using the trigger() method on the Smartlet class.
The EventContext object has the following structure:
- eventName (String)
name of the event that was triggered - smartlet (Smartlet)
the event initiating smartlet - data (Object)
The data as passed to the event. This object simply holds the eventData as passed to the trigger() method.