createEvent method
Creates an event object to be used in conjunction with the dispatchEvent method.
![]() ![]() |
Syntax
var retVal = SVGSVGElement.createEvent(eventInterface);Parameters
- eventInterface [in]
-
Type: DOMString
The name of a DOM Events interface to be supported by the event object.
- retVal [out, retval]
-
Type: Event
Exceptions
| Exception | Condition |
|---|---|
|
The specified event interface is not supported. For versions earlier than Internet Explorer 10, NOT_SUPPORTED_ERR is returned. |
Standards information
See also
Show:

