The
DocumentEvent interface provides a mechanism by which the user can create an Event of a type supported by the implementation. It is expected that the
DocumentEvent interface will be implemented on the same object which implements the
Document interface in an implementation which supports the Event model.
See also the Document Object Model (DOM) Level 2 Events Specification .