Results 21 - 40 of 81


The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown.
API DOM DOM Events Interface Reference Référence


The MouseEvent.metaKey read-only property returning a Boolean that indicates if the Meta key was pressed (true) or not (false) when the event occured.
API DOM DOM Events Property Reference Référence


A pointer is a hardware agnostic representation of input devices (such as a mouse, pen or contact point on a touch-enable surface). The pointer can target a specific coordinate (or set of coordinates) on the contact surface such as a screen.
API DOM Interface Pointer Events PointerEvent Reference


The ProgressEvent interface represents events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an <img>, <audio>, <video>, <style> or <link>).
API Interface Progress Events ProgressEvent Reference


The ProgressEvent.initProgressEvent() method Initializes an animation event created using the deprecated Document.createEvent("ProgressEvent") method.
API Deprecated Method Progress Events ProgressEvent

Using server-sent events

The server-sent event API is contained in the EventSource interface; to open a connection to the server to begin receiving events from it, create a new EventSource object specifying the URI of a script that generates the events. For example:
Advanced DOM Guide Server-sent events


The TouchEvent() constructor creates a new TouchEvent.
API Constructor DOM events Reference touch


The PromiseRejectionEvent.promise read-only property indicates the JavaScript Promise which has been rejected. You can examine the event's PromiseRejectionEvent.reason property to learn why the promise was rejected.
API events Events HTML DOM JavaScript Promise PromiseRejectionEvent Promises Property Reference


The PromiseRejectionEvent.reason read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject(). This in theory provides information about why the promise was rejected.
API Events events HTML DOM JavaScript PromiseRejectionEvent Promises Property reason Reference


The onvrdisplayconnected property of the SpeechSynthesis interface represents an event handler that will run when a compatible VR device has been connected to the computer (when the vrdisplayconnected event fires).
API events Events Experimental onvrdisplayconnected Property Reference Virtual Reality VR WebVR Window