Liking cljdoc? Tell your friends :D

web.TreeWalker

The TreeWalker object represents the nodes of a document subtree a position within them.

The TreeWalker object represents the nodes of a document subtree
a position within them.
raw docstring

current-nodecljs

(current-node this)

Property.

The TreeWalker.currentNode property represents the web.Node which the web.TreeWalker is currently pointing at.

node = treeWalker.currentNode; treeWalker.currentNode = node;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode

Property.

The TreeWalker.currentNode property represents the `web.Node`
which the `web.TreeWalker` is currently pointing at.

`node = treeWalker.currentNode;
treeWalker.currentNode = node;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode`
sourceraw docstring

expand-entity-referencescljs

(expand-entity-references this)

Property.

The TreeWalker.expandEntityReferences read-only property returns js.Boolean flag indicating whether or not the children of entity nodes are visible to the web.TreeWalker.

expand = treeWalker.expandEntityReferences;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/expandEntityReferences

Property.

The TreeWalker.expandEntityReferences read-only property returns
`js.Boolean` flag indicating whether or not the children of entity
nodes are visible to the `web.TreeWalker`.

`expand = treeWalker.expandEntityReferences;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/expandEntityReferences`
sourceraw docstring

filtercljs

(filter this)

Property.

The TreeWalker.filter read-only property returns a web.NodeFilter is the filtering object associated with the web.TreeWalker.

nodeFilter = treeWalker.filter;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter

Property.

The TreeWalker.filter read-only property returns a `web.NodeFilter`
is the filtering object associated with the `web.TreeWalker`.

`nodeFilter = treeWalker.filter;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter`
sourceraw docstring

first-childcljs

(first-child this)

Method.

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

node = treeWalker.firstChild;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/firstChild

Method.

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

`node = treeWalker.firstChild;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/firstChild`
sourceraw docstring

last-childcljs

(last-child this)

Method.

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

node = treeWalker.lastChild();

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/lastChild

Method.

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

`node = treeWalker.lastChild();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/lastChild`
sourceraw docstring

next-nodecljs

(next-node this)

Method.

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

node = treeWalker.nextNode();

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextNode

Method.

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

`node = treeWalker.nextNode();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextNode`
sourceraw docstring

next-siblingcljs

(next-sibling this)

Method.

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

node = treeWalker.nextSibling();

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextSibling

Method.

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

`node = treeWalker.nextSibling();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/nextSibling`
sourceraw docstring

parent-nodecljs

(parent-node this)

Method.

The TreeWalker.parentNode() method moves the current web.Node the first visible ancestor node in the document order, and returns found node. If no such node exists, or if it is above the TreeWalker's node, returns null and the current node is not changed.

node = treeWalker.parentNode();

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/parentNode

Method.

The TreeWalker.parentNode() method moves the current `web.Node`
the first visible ancestor node in the document order, and returns
found node. If no such node exists, or if it is above the TreeWalker's
node, returns null and the current node is not changed.

`node = treeWalker.parentNode();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/parentNode`
sourceraw docstring

previous-nodecljs

(previous-node this)

Method.

The TreeWalker.previousNode() method moves the current web.Node the previous visible node in the document order, and returns found node. It also moves the current node to this one. If no node exists,or if it is before that the root node defined at object construction, returns null and the current node is not

node = treeWalker.previousNode();

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousNode

Method.

The TreeWalker.previousNode() method moves the current `web.Node`
the previous visible node in the document order, and returns
found node. It also moves the current node to this one. If no
node exists,or if it is before that the root node defined at
object construction, returns null and the current node is not

`node = treeWalker.previousNode();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousNode`
sourceraw docstring

previous-siblingcljs

(previous-sibling this)

Method.

The TreeWalker.previousSibling() method moves the current web.Node its previous sibling, if any, and returns the found sibling. there is no such node, return null and the current node is not

node = treeWalker.previousSibling();

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousSibling

Method.

The TreeWalker.previousSibling() method moves the current `web.Node`
its previous sibling, if any, and returns the found sibling.
there is no such node, return null and the current node is not

`node = treeWalker.previousSibling();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/previousSibling`
sourceraw docstring

rootcljs

(root this)

Property.

The TreeWalker.root read-only property returns the node that the root of what the TreeWalker traverses.

root = TreeWalker.root;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root

Property.

The TreeWalker.root read-only property returns the node that
the root of what the TreeWalker traverses.

`root = TreeWalker.root;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root`
sourceraw docstring

set-current-node!cljs

(set-current-node! this val)

Property.

The TreeWalker.currentNode property represents the web.Node which the web.TreeWalker is currently pointing at.

node = treeWalker.currentNode; treeWalker.currentNode = node;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode

Property.

The TreeWalker.currentNode property represents the `web.Node`
which the `web.TreeWalker` is currently pointing at.

`node = treeWalker.currentNode;
treeWalker.currentNode = node;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/currentNode`
sourceraw docstring

set-expand-entity-references!cljs

(set-expand-entity-references! this val)

Property.

The TreeWalker.expandEntityReferences read-only property returns js.Boolean flag indicating whether or not the children of entity nodes are visible to the web.TreeWalker.

expand = treeWalker.expandEntityReferences;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/expandEntityReferences

Property.

The TreeWalker.expandEntityReferences read-only property returns
`js.Boolean` flag indicating whether or not the children of entity
nodes are visible to the `web.TreeWalker`.

`expand = treeWalker.expandEntityReferences;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/expandEntityReferences`
sourceraw docstring

set-filter!cljs

(set-filter! this val)

Property.

The TreeWalker.filter read-only property returns a web.NodeFilter is the filtering object associated with the web.TreeWalker.

nodeFilter = treeWalker.filter;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter

Property.

The TreeWalker.filter read-only property returns a `web.NodeFilter`
is the filtering object associated with the `web.TreeWalker`.

`nodeFilter = treeWalker.filter;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/filter`
sourceraw docstring

set-root!cljs

(set-root! this val)

Property.

The TreeWalker.root read-only property returns the node that the root of what the TreeWalker traverses.

root = TreeWalker.root;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root

Property.

The TreeWalker.root read-only property returns the node that
the root of what the TreeWalker traverses.

`root = TreeWalker.root;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/root`
sourceraw docstring

set-what-to-show!cljs

(set-what-to-show! this val)

Property.

The TreeWalker.whatToShow read-only property returns an unsigned being a bitmask made of constants describing the types of web.Node must to be presented. Non-matching nodes are skipped, but their may be included, if relevant. The possible values are:

nodeTypes = treeWalker.whatToShow;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow

Property.

The TreeWalker.whatToShow read-only property returns an unsigned
being a bitmask made of constants describing the types of `web.Node`
must to be presented. Non-matching nodes are skipped, but their
may be included, if relevant. The possible values are:

`nodeTypes = treeWalker.whatToShow;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow`
sourceraw docstring

what-to-showcljs

(what-to-show this)

Property.

The TreeWalker.whatToShow read-only property returns an unsigned being a bitmask made of constants describing the types of web.Node must to be presented. Non-matching nodes are skipped, but their may be included, if relevant. The possible values are:

nodeTypes = treeWalker.whatToShow;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow

Property.

The TreeWalker.whatToShow read-only property returns an unsigned
being a bitmask made of constants describing the types of `web.Node`
must to be presented. Non-matching nodes are skipped, but their
may be included, if relevant. The possible values are:

`nodeTypes = treeWalker.whatToShow;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker/whatToShow`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close