Creates a CustomEvent instance with the given arguments.
CustomEvent
The name of the type of the event.
The event details.
The requested event object.
Creates a
CustomEvent
instance with the given arguments.