Export (0) Print
Expand All
Expand Minimize

createEvent method

Creates an event object to be used in conjunction with the dispatchEvent method.

Document Object Model (DOM) Level 2 Events Specification, Section 1.5Internet Explorer 10

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

ExceptionCondition
NotSupportedError

The specified event interface is not supported. For versions earlier than Internet Explorer 10, NOT_SUPPORTED_ERR is returned.

Standards information

See also

SVGSVGElement

 

 

Show:
© 2014 Microsoft