HTMLElement object
Implements the document object model (DOM) representation of any HTML element.
DOM Information
Inheritance Hierarchy
Members
The HTMLElement object has these types of members:
Events
The HTMLElement object has these events.
| Event | Description |
|---|---|
| MSContentZoom |
Event fires when a user zooms the element. |
| MSGestureChange |
Triggered when the finger positions associated with the interaction moves on the screen. It will also be triggered during inertia processing. |
| MSGestureEnd |
This event fires when all associated contacts are removed from the surface, and any inertia related movements have stopped.. |
| MSGestureHold |
Fires when the user touches a surface and holds the position for an extended period of time. |
| MSGestureStart |
Triggered when the screen is touched on a location over this element. |
| MSGestureTap |
Triggers when user interaction of a touch, mouse click, or pen tap. |
| MSInertiaStart |
Event fires once contact is removed when a move or pan has sufficient speed to continue moving. |
| MSManipulationStateChanged |
Event fires when the state of an element being manipulated has changed. |
| oncuechange |
Occurs when a TextTrackCue in a HTMLTrackElement changes. |
Methods
The HTMLElement object has these methods.
| Method | Description |
|---|---|
| msGetInputContext |
Returns the MSInputMethodContext associated with the calling element. |
| requestPointerLock |
Requests that the pointer be locked to the target element. |
Properties
The HTMLElement object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Returns a DOMTokenList that represents the className attribute value expressed as a string. | |
|
Read-only |
Get custom data values defined using the "data-" prefix on an element with the dataset property. | |
|
Read/write |
Sets or gets whether an element can be dragged on a document. | |
|
Read/write |
Specifies whether spell checking is applied to an editable text field. |
Remarks
All HTML element interfaces derive from this class.
See also