SVGSVGElement.CreateEvent
SVGSVGElement.CreateEvent method
Creates an Event
of a type supported by the implementation.
public Event CreateEvent(String eventType)
Parameter | Type | Description |
---|---|---|
eventType | String | The eventType parameter specifies the type of Event interface to be created.If the Event interface specified is supported by the implementation this method will return a newEvent of the interface type requested. If the Event is to be dispatched via the DispatchEvent method the appropriateInitEvent method must be called after creation in order to initialize the Event ’s values. |
Return Value
The newly created Event
Exceptions
exception | condition |
---|---|
dOMException | NOT_SUPPORTED_ERR: Raised if the implementation does not support the type of Event interface requested |
See Also
- class Event
- class SVGSVGElement
- package com.aspose.html.Dom.Svg
- package Aspose.HTML