Results 21 - 40 of 1,243

Document.createTreeWalker()

The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
API Document DOM DOM Reference Method

Document Object Model (DOM)

The Document Object Model (DOM) is a programming interface for HTML, XML and SVG documents. It provides a structured representation of the document as a tree. The DOM defines methods that allow access to the tree, so that they can change the document structure, style and content. The DOM provides a representation of the document as a structured group of nodes and objects, possessing various properties and methods. Nodes can also have event handlers attached to them, and once an event is triggered, the event handlers get executed. Essentially, it connects web pages to scripts or programming languages.
API DOM DOM Reference Intermediate Reference

DOMString

DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.
API DOM DOM Reference Reference Référence String

Event.cancelable

Indicates whether the event is cancelable or not.
API DOM DOM Reference Property Reference Référence

EventListener

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

GlobalEventHandlers

The GlobalEventHandlers mixin describes the event handlers common to several interfaces like HTMLElement, Document, or Window. Each of these interfaces can implement more event handlers.
API DOM HTML-DOM Mixin Reference

HTMLCollection

The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.
API DOM DOM Reference Reference Référence

MouseEvent

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

MouseEvent.metaKey

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

MutationRecord

A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.
Advanced API DOM DOM Reference NeedsContent Reference

Node

A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly.
API DOM DOM Reference Interface Node Reference

NodeFilter.acceptNode()

The NodeFilter.acceptNode() method returns an unsigned short that will be used to tell if a given Node must be accepted or not by the NodeIterator or TreeWalker iteration algorithm. This method is expected to be written by the user of a NodeFilter. Possible return values are:
API DOM DOM Reference Method NodeFilter

TreeWalker.firstChild()

The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.lastChild()

The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.nextNode()

The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns null and the current node is not changed.
API DOM DOM Reference Method TreeWalker

TreeWalker.nextSibling()

The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling. I there is no such node, return null and the current node is not changed.
API DOM DOM Reference Method TreeWalker