Properties
This section describes event related properties, including those described in Document Object Model (DOM) Level 3 Events.
In this section
| Topic | Description |
|---|---|
|
Returns true if absolute values for the alpha, beta, and gamma device orientation properties are provided, and false otherwise. | |
|
Returns a DeviceAcceleration object representing the acceleration (in m/s²) of the host device in motion along the X, Y, and Z axes. | |
|
Returns a DeviceAcceleration object representing the acceleration (in m/s²), including the effect of gravity, of the host device in motion along the X, Y, and Z axes. | |
|
Gets the URL of a Jump List item that is removed. This property is not supported for Windows Store apps using JavaScript. | |
|
The amount of rotation (in the range of [0, 360)) around the Z axis, where Z is perpendicular to the screen, and positive out of the screen. | |
|
Gets a value that indicates whether the Alt key is pressed. | |
|
The name of a keyframe rule that defines the style rules applied by the animation. | |
|
Gets a value that indicates what type of change occurred. | |
|
Returns the name of the ARIA property being requested. | |
|
Represents the value of the named ARIA property being requested. | |
|
Gets the name of the attribute that changed. | |
|
The amount of rotation (in the range of [-180, 180)) around the X axis, where X is in the plane of the screen, and positive towards the right hand side of the screen. | |
|
Gets a value that indicates whether an event propagates up from the event target. | |
|
Indicates which pointer device button has changed. | |
|
Gets the Thumbnail Toolbar button ID that is clicked. This property is not supported for Windows Store apps using JavaScript. | |
|
Indicates which pointer device buttons are being pressed, expressed as a bitmask. | |
|
Gets a value that indicates whether you can cancel an event's default action. | |
|
Sets or retrieves whether the current event should bubble up the hierarchy of event handlers. | |
|
Gets a character for a key that is pressed, if available. | |
|
Gets the numeric key code of a key that is pressed. | |
|
Gets the x-coordinate of the mouse pointer, relative to the upper-left corner of the viewport (that is, the application's client area). | |
|
Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the viewport (that is, the application's client area). | |
|
The connection close-code provided by the server. | |
|
Represents the offset into a line where the error occurred in the script. | |
|
Provides the name of the associated CommandEvent taking place. | |
|
Retrieves a value that indicates whether the document contains additional content after processing the current LayoutRect object. | |
|
Gets a value that indicates whether the Ctrl key is pressed. | |
|
Gets a PointerPoint object that provides basic info on the pointer associated with the event. | |
|
Returns the current state of a manipulation event. | |
|
Gets the event target that is currently being processed. | |
|
Gets the data of the event. | |
|
Sets or retrieves the data column affected by the oncellchange event. | |
|
Retrieves the dataTransfer object associated with the event. | |
|
Gets a value that indicates whether the default action should be canceled. | |
|
Gets a value that indicates the unit of measurement for delta values. | |
|
Gets the distance that a mouse wheel has rotated around the x-axis (horizontal). | |
|
Gets the distance that a mouse wheel has rotated around the y-axis (vertical). | |
|
Gets the distance that a mouse wheel has rotated around the z-axis. | |
|
Gets additional information about an event. | |
|
Provides additional information about the associated CommandEvent, if available. | |
|
Specifies additional information about an event. | |
|
The amount of time the animation has been running, in seconds. | |
|
The amount of time the transition has been running, in seconds. | |
|
Gets the event phase that is being evaluated. | |
|
Diameter of the manipulation area from the last MSGestureEvent of the interaction. | |
|
Returns a FileList of the files being dragged. | |
|
Gets the object that the mouse pointer exited. | |
|
The amount of rotation (in the range of [-90, 90)) around the Y axis, where Y is in the plane of the screen, and positive towards the top of the screen. | |
|
Returns the MSGesture object for an element. | |
|
Returns the time at which the pointer data was reported by the hardware, in microseconds. | |
|
The height (magnitude on the Y axis), in CSS pixels, of the contact geometry of the pointer. | |
|
Gets a value that describes how text is entered. | |
|
Represents the predicted horizontal scroll offset after the inertia phase completes. | |
|
Represents the predicted vertical scroll offset after the inertia phase completes. | |
|
Retrieves a collection of PointerPoint objects that represent the pointer history from the last pointer event up to and including the current pointer event. Each PointerPoint in the collection provides basic info on the pointer associated with the event. | |
|
Represents the interval (in milliseconds) at which motion data is being obtained from the underlying hardware of the host device. | |
|
Returns whether the pointer associated with the event is the primary pointer for the current mouse, touch, or pen interaction. | |
|
Gets a value that indicates whether a trusted event source created an event. | |
|
Returns a DataTransferItemsList for data being dragged. | |
|
Gets the key identifier of a key that is pressed. | |
|
Gets the numeric key code of a key that is pressed. | |
|
Returns the kind of data (e.g., string or file) of the drag data item. | |
|
Returns the last state after a manipulation change event. | |
|
Gets the x-coordinate of the mouse pointer, relative to the last positioned ancestor element. | |
|
Gets the y-coordinate of the mouse pointer, relative to the last positioned ancestor element. | |
|
Returns the size of the DataTransferItemList. | |
|
Specifies whether the total size of the operation is known. | |
|
Represents the line number where the an error occurred in the script. | |
|
Specifies the number of bytes downloaded since the beginning of the operation. | |
|
Gets the locale name for the event. | |
|
Gets the location of a key on the keyboard or device. | |
|
Gets a value that indicates whether the Meta/Control key is pressed. | |
|
Returns whether manipulation feature support is available, such as touch panning and zooming using Cascading Style Sheets (CSS) rules. | |
|
The maximum number of simultaneous touch contacts supported by the device. | |
|
Returns the difference in horizontal position (in screenX units) since the last mousemove (or pointermove) event. | |
|
Returns the difference in vertical position (in screenY units) since the last mousemove (or pointermove) event. | |
|
Retrieves the current URL of the session history entry (HashChangeEvent). | |
|
Gets the new value of the attribute or text node. | |
|
Retrieves the previous URL of the session history entry (HashChangeEvent). | |
|
Gets the Uniform Resource Identifier (URI) of the document of origin. | |
|
Indicates if a webpage is loading from a cache. | |
|
Deprecated. Indicates if pointer events are fired for pointing input. | |
|
The unique identifier of the contact for a touch, mouse or pen. | |
|
Returns whether the source of the event is touch, pen or mouse. | |
|
Returns the normalized pressure of the pointer input in the range of [0,1], where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively. | |
|
Gets the previous value of the attribute or text node. | |
|
Name of the CSS property associated with the transition. | |
|
Server close-connection reason. | |
|
Gets a second node related to a mutation event. | |
|
Gets the secondary element that is involved in an event. | |
|
Gets a value that indicates whether a key was pressed and held. | |
|
Gets or sets a value that indicates whether to warn the user prior to navigating away from a page. | |
|
Clockwise rotation of the cursor around its own major axis expressed as a value in radians from the last MSGestureEvent of the interaction. | |
|
Returns a DeviceRotationRate object representing the rotation of the hosting device in space. | |
|
Scale factor for zoom from the last MSGestureEvent of the interaction. | |
|
Gets the x-coordinate of the mouse pointer, relative to the upper-left corner of the screen. | |
|
Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the screen. | |
|
Gets a value that indicates whether the Shift key is pressed. | |
|
Gets the window object that sent the message. | |
|
Gets the element that the event was originally dispatched to. Compare to target. | |
|
Returns the information that was provided to pushState or replaceState. | |
|
Gets the element that is the target of the event. | |
|
Get or set the element that you want to fire MSGestureEvents. | |
|
Returns the angle between the Y-Z plane and the plane containing the pen axis and the Y axis in the range of -90 to +90. A positive X tilt is to the right. | |
|
Returns the angle between the X-Z and transducer-X planes. A positive Y tilt is toward the user. | |
|
Gets the time, in milliseconds, when an event occurred. | |
|
Gets the object that the mouse pointer entered. | |
|
Specifies the total number of bytes to be transferred during the operation, if known. | |
|
Translation along x-axis from the last MSGestureEvent of the interaction. | |
|
Translation along y-axis from the last MSGestureEvent of the interaction. | |
|
Gets the name of an event. | |
|
Returns a string list of formats that were sent in the ondragstart event. | |
|
Angular velocity in radians. | |
|
Velocity of expanding manipulation area. | |
|
Velocity of movement along x-axis. | |
|
Velocity of movement along y-axis. | |
|
Gets the window object that an event is generated from. | |
|
Indicates whether the server connection closed cleanly. | |
|
Gets the distance that a mouse wheel has rotated around the y-axis. | |
|
Gets the numeric code of a key that is pressed. | |
|
The width (magnitude on the X axis), in CSS pixels, of the contact geometry of the pointer. | |
|
Describes the acceleration (in m/s²) of the host device in motion along the X, axis. | |
|
Describes the acceleration (in m/s²) of the host device in motion along the Y, axis. | |
|
Describes the acceleration (in m/s²) of the host device in motion along the Z, axis. |