Results 1 - 20 of 181

Document.elementsFromPoint()

The elementsFromPoint() method of the Document interface returns an array of all elements at the specified coordinates.
API DOM Reference

Examples of web and XML development using the DOM

This chapter provides some longer examples of web and XML development using the DOM. Wherever possible, the examples use common APIs, tricks, and patterns in JavaScript for manipulating the document object.
DOM DOM Reference

NodeFilter

A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker. They don't know anything about the DOM or how to traverse nodes; they just know how to evaluate a single node against the provided filter.
API DOM DOM Reference

ElementTraversal

The ElementTraversal interface was defining methods allowing to access from one Node to another one in the document tree.
API DOM DOM Reference Obsolete

DeviceRotationRate.alpha

This property indicates the rate of rotation around the Z axis -- in degrees per second -- in a DeviceRotationRate object.
API DOM DOM Reference Property Reference

DeviceRotationRate.beta

This property indicates the rate of rotation around the X axis -- in degrees per second -- in a DeviceRotationRate object.
API DOM DOM Reference Property Reference

DeviceRotationRate.gamma

This property indicates the rate of rotation around the Y axis -- in degrees per second -- in a DeviceRotationRate object.
API DOM DOM Reference Property Reference

Document.createNSResolver()

Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
API DOM DOM Reference Method Reference Référence

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