Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HTMLElement object

Implements the document object model (DOM) representation of any HTML element.

DOM Information

Inheritance Hierarchy

 Node
  Element
    HTMLElement

Members

The HTMLElement object has these types of members:

Events

The HTMLElement object has these events.

EventDescription
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.

MethodDescription
msGetInputContext

Returns the MSInputMethodContext associated with the calling element.

 

Properties

The HTMLElement object has these properties.

PropertyAccess typeDescription

classList

Read-only

Returns a DOMTokenList that represents the className attribute value expressed as a string.

dataset

Read-only

Get custom data values defined using the "data-" prefix on an element with the dataset property.

draggable

Read/write

Sets or gets whether an element can be dragged on a document.

spellcheck

Read/write

Specifies whether spell checking is applied to an editable text field.

 

Remarks

All HTML element interfaces derive from this class.

 

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft