SvgEvent

SvgEvent class

Represents options for SVG shape.

Constants

NameValueDescription
OnFocusIn0Occurs when an element receives focus, such as when a text becomes selected.
OnFocusOut1Occurs when an element loses focus, such as when a text becomes unselected.
OnActivate2Occurs when an element is activated, for instance, through a mouse click or a keypress.
OnClick3Occurs when the pointing device button is clicked over an element.
OnMouseDown4Occurs when the pointing device button is pressed over an element.
OnMouseUp5Occurs when the pointing device button is released over an element.
OnMouseOver6Occurs when the pointing device is moved onto an element.
OnMouseMove7Occurs when the pointing device is moved while it is over an element.
OnMouseOut8Occurs when the pointing device is moved away from an element.
OnLoad9Occurs when the user agent has fully parsed the element and its descendants and all referrenced resurces, required to render it.
OnUnload10Occurs when the DOM implementation removes a document from a window or frame. Only applicable to outermost svg elements.
OnAbort11Occurs when page loading is stopped before an element has been allowed to load completely.
OnError12Occurs when an element does not load properly or when an error occurs during script execution.
OnResize13Occurs when a document view is being resized. Only applicable to outermost svg elements.
OnScroll14Occurs when a document view is being shifted along the X or Y or both axis. Only applicable to outermost svg elements.
OnZoom15Occurs when the zoom level of a document view is being changed. Only applicable to outermost svg elements.
OnBegin16Occurs when an animation element begins.
OnEnd17Occurs when an animation element ends.
OnRepeat18Occurs when an animation element repeats.

OnFocusIn

Occurs when an element receives focus, such as when a text becomes selected.


OnFocusOut

Occurs when an element loses focus, such as when a text becomes unselected.


OnActivate

Occurs when an element is activated, for instance, through a mouse click or a keypress.


OnClick

Occurs when the pointing device button is clicked over an element.


OnMouseDown

Occurs when the pointing device button is pressed over an element.


OnMouseUp

Occurs when the pointing device button is released over an element.


OnMouseOver

Occurs when the pointing device is moved onto an element.


OnMouseMove

Occurs when the pointing device is moved while it is over an element.


OnMouseOut

Occurs when the pointing device is moved away from an element.


OnLoad

Occurs when the user agent has fully parsed the element and its descendants and all referrenced resurces, required to render it.


OnUnload

Occurs when the DOM implementation removes a document from a window or frame. Only applicable to outermost svg elements.


OnAbort

Occurs when page loading is stopped before an element has been allowed to load completely.


OnError

Occurs when an element does not load properly or when an error occurs during script execution.


OnResize

Occurs when a document view is being resized. Only applicable to outermost svg elements.


OnScroll

Occurs when a document view is being shifted along the X or Y or both axis. Only applicable to outermost svg elements.


OnZoom

Occurs when the zoom level of a document view is being changed. Only applicable to outermost svg elements.


OnBegin

Occurs when an animation element begins.


OnEnd

Occurs when an animation element ends.


OnRepeat

Occurs when an animation element repeats.