SvgEvent
SvgEvent class
Represents options for SVG shape.
Constants
Name | Value | Description |
---|---|---|
OnFocusIn | 0 | Occurs when an element receives focus, such as when a text becomes selected. |
OnFocusOut | 1 | Occurs when an element loses focus, such as when a text becomes unselected. |
OnActivate | 2 | Occurs when an element is activated, for instance, through a mouse click or a keypress. |
OnClick | 3 | Occurs when the pointing device button is clicked over an element. |
OnMouseDown | 4 | Occurs when the pointing device button is pressed over an element. |
OnMouseUp | 5 | Occurs when the pointing device button is released over an element. |
OnMouseOver | 6 | Occurs when the pointing device is moved onto an element. |
OnMouseMove | 7 | Occurs when the pointing device is moved while it is over an element. |
OnMouseOut | 8 | Occurs when the pointing device is moved away from an element. |
OnLoad | 9 | Occurs when the user agent has fully parsed the element and its descendants and all referrenced resurces, required to render it. |
OnUnload | 10 | Occurs when the DOM implementation removes a document from a window or frame. Only applicable to outermost svg elements. |
OnAbort | 11 | Occurs when page loading is stopped before an element has been allowed to load completely. |
OnError | 12 | Occurs when an element does not load properly or when an error occurs during script execution. |
OnResize | 13 | Occurs when a document view is being resized. Only applicable to outermost svg elements. |
OnScroll | 14 | Occurs when a document view is being shifted along the X or Y or both axis. Only applicable to outermost svg elements. |
OnZoom | 15 | Occurs when the zoom level of a document view is being changed. Only applicable to outermost svg elements. |
OnBegin | 16 | Occurs when an animation element begins. |
OnEnd | 17 | Occurs when an animation element ends. |
OnRepeat | 18 | Occurs 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.