SvgEvent

SvgEvent enumeration

Represents options for SVG shape.

Members

Member nameDescription
ON_FOCUS_INOccurs when an element receives focus, such as when a text becomes selected.
ON_FOCUS_OUTOccurs when an element loses focus, such as when a text becomes unselected.
ON_ACTIVATEOccurs when an element is activated, for instance, through a mouse click or a keypress.
ON_CLICKOccurs when the pointing device button is clicked over an element.
ON_MOUSE_DOWNOccurs when the pointing device button is pressed over an element.
ON_MOUSE_UPOccurs when the pointing device button is released over an element.
ON_MOUSE_OVEROccurs when the pointing device is moved onto an element.
ON_MOUSE_MOVEOccurs when the pointing device is moved while it is over an element.
ON_MOUSE_OUTOccurs when the pointing device is moved away from an element.
ON_LOADOccurs when the user agent has fully parsed the element and its descendants and all referrenced resurces, required to render it.
ON_UNLOADOccurs when the DOM implementation removes a document from a window or frame. Only applicable to outermost svg elements.
ON_ABORTOccurs when page loading is stopped before an element has been allowed to load completely.
ON_ERROROccurs when an element does not load properly or when an error occurs during script execution.
ON_RESIZEOccurs when a document view is being resized. Only applicable to outermost svg elements.
ON_SCROLLOccurs when a document view is being shifted along the X or Y or both axis. Only applicable to outermost svg elements.
ON_ZOOMOccurs when the zoom level of a document view is being changed. Only applicable to outermost svg elements.
ON_BEGINOccurs when an animation element begins.
ON_ENDOccurs when an animation element ends.
ON_REPEATOccurs when an animation element repeats.

See Also