DocumentCreateEvent Method |
Namespace: Aspose.Html.Dom
The CreateEvent(String) method is used in creating Events when it is either inconvenient or unnecessary for the user to create an Event themselves. In cases where the implementation provided Event is insufficient, users may supply their own Event implementations for use with the DispatchEvent(Event) method.
Exception | Condition |
---|---|
DOMException | NOT_SUPPORTED_ERR: Raised if the implementation does not support the type of Event interface requested |