Constructor
new WizartEvent(eventName, data)
- Description:
Creates an instance of WizartEvent.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
eventName |
VisualizerEvent | The name of the event. |
data |
* | The event payload data. |
Throws:
Will throw an error if the event name is not recognized.