DocumentEvent : Object

Interface for creating new event types.

Browser/User Agent Support

IEMozillaNetscapeOperaSafariNetscapte
no1.0+nononono

Constructors

ConstructorIEMozillaNetscapeOperaSafariNetscapte
Interface for creating new event types.
no1.0+nononono
 

Methods

MethodIEMozillaNetscapeOperaSafariNetscapte
Creates a new event.
no1.0+nononono
 

Availability

HTML DOM Level 2 | W3C

Constructor Detail

DocumentEvent DocumentEvent()

Interface for creating new event types.

Visibility
internal

Method Detail

createEvent(DOMString eventType) : Event

Creates a new event.

DOMStringeventTypeSpecifies the type of Event to create.

Throws
Raises a NOT_SUPPORTED_ERR if the implementation does not support the specified Event interface.
Availability

HTML DOM Level 2 | W3C