Results 1 - 20 of 81


The CustomEvent() constructor creates a new CustomEvent.
API Constructor CustomEvent Events events Reference Référence


An event handler for the popstate event on the window.
API DOM events Events HTML5 Property Window

Multi-touch interaction

Pointer events extend DOM input events to support various pointing input devices such as pen/stylus and touch screens as well as mouse. The pointer is a hardware-agnostic device that can target a specific set of screen coordinates. Having a single event model for pointers can simplify creating Web sites, applications and provide a good user experience regardless of the user's hardware.
Guide Pointer Events touch

Server-sent events

Traditionally, a web page has to send a request to the server to receive new data; that is, the page requests data from the server. With server-sent events, it's possible for a server to send new data to a web page at any time, by pushing messages to the web page. These incoming messages can be treated as Events + data inside the web page.
Server-sent events

HTML Drag and Drop API

HTML Drag and Drop interfaces enable applications to use drag and drop features in Firefox and other browsers. For example, with these features, the user can select draggable elements with a mouse, drag the elements to a droppable element, and drop those elements by releasing the mouse button. A translucent representation of the draggable elements follows the mouse pointer during the drag operation.
Advanced drag and drop events Events Guide HTML5 Overview XUL


The PresentationConnectionAvailableEvent interface of the Presentation API is fired on a PresentationRequest when a connection associated with the object is created.
API Events events Experimental Presentation API PresentationConnectionAvailableEvent PresentationRequest Reference


The PromiseRejectionEvent interface represents events which are fired when JavaScript Promises are rejected. These events are particularly useful for telemetry and debugging purposes.
API Events events HTML DOM Interface JavaScript PromiseRejectionEvent Promises Reference


The PromiseRejectionEvent() constructor returns a newly created PromiseRejectionEvent, which represents events fired when a JavaScript Promise is rejected.
API Constructor events Events HTML DOM JavaScript PromiseRejectionEvent Promises Reference


EventTarget is an interface implemented by objects that can receive events and may have listeners for them.
API DOM DOM Events Interface


The ProgressEvent.lengthComputable read-only property is a Boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated. If not, the property has no significant value.
API Progress Events ProgressEvent Property


The ProgressEvent() constructor returns a newly created ProgressEvent, representing the current completion of a long process.
API Constructor DOM Events ProgressEvent


The touch-action CSS property specifies whether, and in what ways, a given region can be manipulated by the user (for instance, by panning or zooming).
CSS CSS Property NeedsLiveSample Pointer Events Reference


onlostpointercapture is an EventHandler property of the Element interface that returns the event handler (function) for the lostpointercapture event type.
API DOM EventHandler Pointer Events Property Reference


This method is called whenever an event occurs of the type for which the EventListener interface was registered.
API DOM DOM Events NeedsContent NeedsMarkupWork


The EventSource interface is used to receive server-sent events. It connects to a server over HTTP and receives events in text/event-stream format without closing the connection.
API Interface Reference Server-sent events


The EventSource() constructor returns a newly-created EventSource, which represents a remote ressource.
API Constructor EventSource Reference Server-sent events


KeyboardEvent objects describe a user interaction with the keyboard. Each event describes a key; the event type (keydown, keypress, or keyup) identifies what kind of activity was performed.
API DOM Event Interface Reference UI Events