Sys.UI.DomEvent Class
Provides cross-browser access to fields and methods that are associated with handlers for DOM-element events.
Namespace: Sys.UI
Inherits: None
var domEvent = Sys.UI.DomEvent(domObject);
|
Name |
Description |
|---|---|
|
Provides a method to add a DOM event handler to the DOM element that exposes the event. |
|
|
Adds a list of DOM event handlers to the DOM element that exposes the DOM events. |
|
|
Removes all DOM event handlers from the DOM element that were added through the addHandler or the addHandlers methods. |
|
|
Prevents the default DOM event action from occurring. |
|
|
Provides a method to remove a specified DOM event handler from the DOM element that exposes the event. |
|
|
Prevents an event from being propagated to parent elements. |
|
|
Gets a value that indicates the state of the ALT key when the associated event occurred. |
|
|
Gets a Sys.UI.MouseButton enumeration value that indicates the button state of the mouse when the associated event occurred. |
|
|
Gets the character code of the key that raised the associated event. |
|
|
Gets the x-coordinate of the mouse pointer's position relative to the client area of the browser window, excluding window scroll bars. |
|
|
Gets the y-coordinate of the mouse pointer's position relative to the client area of the browser window, excluding window scroll bars. |
|
|
Gets a value that indicates the state of the CTRL key when the associated event occurred. |
|
|
Gets the key code of the key that raised the keyUp or keyDown event. |
|
|
Gets the x-coordinate of the mouse pointer's position relative to the object that raised the event. |
|
|
Gets the y-coordinate of the mouse pointer's position relative to the object that raised the event. |
|
|
Gets the x-coordinate of the mouse pointer's position relative to the user's screen. |
|
|
Gets the y-coordinate of the mouse pointer's position relative to the user's screen. |
|
|
Gets a value that indicates the state of the SHIFT key when the associated event occurred. |
|
|
Gets the object that the event acted on. |
|
|
Gets the name of the event that was raised. |