GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

3 results across 6 corpora for NodeIterator: pointerBeforeReferenceNode property.

Developer library 3

NodeIterator

eturns a `NodeFilter` used to select the relevant nodes. - NodeIterator.referenceNode - : Returns the Node to which the iterator is anchored. - NodeIterator.pointerBeforeReferenceNode - : Returns a boolean indicating whether or not the `NodeIterator` is anchored _before_ the NodeIterator.referenceNode. If `false`, it indicates that the iterator is anchored _after_ the reference node. ## Instance methods _This

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator

NodeIterator: pointerBeforeReferenceNode property

DOM The **`NodeIterator.pointerBeforeReferenceNode`** read-only property returns a boolean flag that indicates whether the `NodeFilter` is anchored before (if this value is `true`) or after (if this value is `false`) the anchor node indicated by the NodeIterator.referenceNode property. ## Value A boolean. ## Examples ```js const nodeIterator = document.createNodeIterator( document.body, NodeFilter.SHOW_ELEME

Selection and traversal on the DOM tree

sorted in tree order (it doesn't actually store that). The iterator tracks a position immediately between two nodes in that list, exposed as referenceNode and pointerBeforeReferenceNode. The `nextNode()` method returns the node immediately to the right of that position, while `previousNode()` returns the node immediately to its left. Initially, referenceNode is the root and pointerBeforeReferenceNode is `true`, so t

JSON results · Services directory