Results 421 - 440 of 1,243

Element.setPointerCapture()

Pointer capture allows events for a particular pointer event (PointerEvent) to be re-targeted to a particular element instead of the normal target (or hit test) at a pointer's location. This can be used to ensure that an element continues to receive pointer events even if the pointer device's contact moves off the element (for example by scrolling).
API DOM Element Method PointerEvent Reference

Event.bubbles

Indicates whether the given event bubbles up through the DOM or not.
API DOM Gecko Property Reference Référence

Event.initEvent()

The Event.initEvent() method is used to initialize the value of an event created using Document.createEvent().
API Deprecated DOM Event Method Reference Référence

Event.preventDefault()

Cancels the event if it is cancelable, without stopping further propagation of the event.
API DOM Event Gecko Method preventDefault

Event.target

A reference to the object that dispatched the event. It is different from event.currentTarget when the event handler is called during the bubbling or capturing phase of the event.
API delegation DOM Event Property Reference target

Event.timeStamp

Returns the time (in milliseconds) at which the event was created.
API DOM Event Gecko Property Reference timeStamp

Event.type

The Event.type read-only property returns a string containing the type of event. It is set when the event is constructed and is the name commonly used to refer to the specific event.
API DOM Event Property Reference Référence

Fullscreen API

The Fullscreen API provides an easy way for web content to be presented using the user's entire screen. The API lets you easily direct the browser to make an element and its children, if any, occupy the fullscreen, eliminating all browser user interface and other applications from the screen for the duration.
API DOM Fullscreen API Intermediate JS Tutorial