The options for creating a custom event.
Optional
Whatever data the event should carry (default null)
The options for creating a custom event.