HTMLElement object

0 out of 1 rated this helpful - Rate this topic

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.

MSGotpointerCapture

Event that is fired when a pointer is captured to the element.

MSInertiaStart

Event fires once contact is removed when a move or pan has sufficient speed to continue moving.

MSLostPointerCapture

Event that is triggered when the element loses a pointer capture.

MSManipulationStateChanged

Event fires when the state of an element being manipulated has changed.

MSPointerDown

Event that is triggered when a contact touches the screen on element.

MSPointerHover

Event that is triggered when a contact (normally a pen) moves over an element without touching the surface.

MSPointerMove

Event that is triggered when a contact moves on the screen while over an element.

MSPointerOut

This event is triggered when a pointer moves from inside to outside the boundaries of this element. This event is always raised, whether or not the pointer is captured to this element.

MSPointerOver

Event that is triggered when a contact moves from outside to inside the bounds of this element. This event is always raised, whether or not the pointer is captured to this element.

MSPointerUp

Event that is triggered when a contact is raised off of the screen over an element.

oncuechange

Occurs when a TextTrackCue in a HTMLTrackElement changes.

 

Methods

The HTMLElement object has these methods.

MethodDescription
msGetPointerCapture

Gets whether the element that has captured a specific pointer.

msReleasePointerCapture

Releases a pointer captured by an element.

msSetPointerCapture

Assigns the current pointer (touch, pen, or mouse) and MSPointerEvents to a specific element.

 

Properties

The HTMLElement object has these properties.

PropertyDescription

classList

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

draggable

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

spellcheck

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

 

Remarks

All HTML element interfaces derive from this class.

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.