The only argument to this method contains the event type value. This is discussed fully in the Event.type topic elsewhere. The method returns a freshly manufactured but uninitialized Event object.
The DOM specification describes how the event should be initialized by an appropriate initialization method.
During the execution of this method, it is possible to raise a DOM exception. The only one enumerated in DOM level 2 is the NOT_SUPPORTED_ERR value.
The following event types are defined in DOM level 2: