Exportera (0) Skriv ut
Visa allt
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

Objects and Events

This section describes events, including those described in Document Object Model (DOM) Level 3 Events.

In this section

TopicDescription

AnimationEvent

Provides contextual information associated with animation events.

BeforeUnloadEvent

Provides event properties that are specific to the onbeforeunload event.

CloseEvent

Sent to clients using WebSockets when the connection is closed.

CompositionEvent

Provides event properties that are specific to text composition events.

CustomEvent

Provides event properties that are specific to user-defined custom events.

DeviceAcceleration

Represents the acceleration (in m/s2) of the host device in motion along the X, Y, and Z axes.

DeviceMotionEvent

Provides information about the motion of the host device, including acceleration and rate of rotation.

DeviceOrientationEvent

Provides information about the physical orientation of the host device.

DeviceRotationRate

Represents the rate of rotation (in deg/s) of the host device in space, around its X, Y, and Z axes.

DragEvent

Provides event properties that are specific to drag-and-drop events.

Event

Provides event properties and methods that are common to all events.

FocusEvent

Provides event properties that are specific to focus events.

KeyboardEvent

Provides event properties that are specific to keyboard events.

MessageEvent

Provides event properties that are specific to the onmessage event.

MouseEvent

Provides event properties that are specific to mouse events.

MouseWheelEvent

Provides event properties that are specific to the onmousewheel event.

MutationEvent

Provides event properties that are specific to modifications to the DOM hierarchy and nodes.

Note  Mutation Events (W3C DOM Level 3 Events) have been deprecated in favor of Mutation Observers (W3C DOM4). For more info, see "Migrating mutation and property change events to Mutation Observers".

MSFullscreenChange

Fires when an element enters or exits full-screen mode.

MSFullscreenError

Fires when an element can't be displayed in full-screen mode.

MSGesture

Provides high level methods and properties that represent touch, mouse, or pen interaction with elements on a page.

MSGestureEvent

Provides contextual information associated with gesture events.

MSManipulationEvent

Event that provides contextual information when contact is made to the screen and an element is manipulated.

MSSiteModeEvent

Provides event properties that are specific to pinned site events.

PageTransitionEvent

Page transition events fire when a webpage is being loaded or unloaded.

paste

Fires on the target object when the user pastes data, transferring the data from the system clipboard to the document.

PointerEvent

Provides contextual information associated with input events (for example, from mouse, touch or pen).

Note  Starting with Internet Explorer 11, the MS vendor prefix version of this object is no longer supported: the event.type property of a MSPointerEvent object will return the unprefixed PointerEvent name, regardless of the name used to register the event listener.

For a summary of all changes to the Internet Explorer Pointer Events implementation since Internet Explorer 10, see Pointer Events updates.

PopStateEvent

Fires when a history entry changes.

ProgressEvent

Provides event properties for displaying the progress of operations.

StorageEvent

Provides event properties that are specific to the onstorage event.

Touch

The read-only Touch object represents an individual touch point for a touch event.

TouchEvent

The read-only TouchEvent object is used for the touchstart, touchend, touchmove, and touchcancel event types.

TouchList

TouchList provides the list of individual points of contact for a touch event.

TextEvent

Provides event properties that are specific to text events.

TransitionEvent

Provides specific contextual information associated with Cascading Style Sheets (CSS) transitions.

UIEvent

Provides event properties that are specific to UI events.

WheelEvent

Provides event properties that are specific to the onmousewheel event.

This object is not supported for Windows Store apps using JavaScript.

 

 

 

Visa:
© 2014 Microsoft