Liking cljdoc? Tell your friends :D

web.XPathResult

The XPathResult interface represents the results generated by an XPath expression within the context of a given node.

The XPathResult interface represents the results generated by
an XPath expression within the context of a given node.
raw docstring

boolean-valuecljs

(boolean-value this)

Property.

The read-only booleanValue property of the web.XPathResult returns the boolean value of a result with web.XPathResult.resultType BOOLEAN_TYPE.

var value = result.booleanValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue

Property.

The read-only booleanValue property of the `web.XPathResult`
returns the boolean value of a result with `web.XPathResult.resultType`
BOOLEAN_TYPE.

`var value = result.booleanValue;`

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

invalid-iterator-statecljs

(invalid-iterator-state this)

Property.

The read-only invalidIteratorState property of the web.XPathResult signifies that the iterator has become invalid. It is true if is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE the document has been modified since this result was returned.

var iteratorState = result.invalidIteratorState;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState

Property.

The read-only invalidIteratorState property of the `web.XPathResult`
signifies that the iterator has become invalid. It is true if
is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE
the document has been modified since this result was returned.

`var iteratorState = result.invalidIteratorState;`

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

iterate-nextcljs

(iterate-next this)

Method.

The iterateNext() method of the web.XPathResult interface iterates a node set result and returns the next node from it or null if are no more nodes.

var node = result.iterateNext();

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/iterateNext

Method.

The iterateNext() method of the `web.XPathResult` interface iterates
a node set result and returns the next node from it or null if
are no more nodes.

`var node = result.iterateNext();`

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

number-valuecljs

(number-value this)

Property.

The read-only numberValue property of the web.XPathResult interface the numeric value of a result with web.XPathResult.resultType NUMBER_TYPE.

var value = result.numberValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue

Property.

The read-only numberValue property of the `web.XPathResult` interface
the numeric value of a result with `web.XPathResult.resultType`
NUMBER_TYPE.

`var value = result.numberValue;`

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

result-typecljs

(result-type this)

Property.

The read-only resultType property of the web.XPathResult interface the type of the result, as defined by the type constants.

var resultType = result.resultType;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType

Property.

The read-only resultType property of the `web.XPathResult` interface
the type of the result, as defined by the type constants.

`var resultType = result.resultType;`

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

set-boolean-value!cljs

(set-boolean-value! this val)

Property.

The read-only booleanValue property of the web.XPathResult returns the boolean value of a result with web.XPathResult.resultType BOOLEAN_TYPE.

var value = result.booleanValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/booleanValue

Property.

The read-only booleanValue property of the `web.XPathResult`
returns the boolean value of a result with `web.XPathResult.resultType`
BOOLEAN_TYPE.

`var value = result.booleanValue;`

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

set-invalid-iterator-state!cljs

(set-invalid-iterator-state! this val)

Property.

The read-only invalidIteratorState property of the web.XPathResult signifies that the iterator has become invalid. It is true if is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE the document has been modified since this result was returned.

var iteratorState = result.invalidIteratorState;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/invalidIteratorState

Property.

The read-only invalidIteratorState property of the `web.XPathResult`
signifies that the iterator has become invalid. It is true if
is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE
the document has been modified since this result was returned.

`var iteratorState = result.invalidIteratorState;`

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

set-number-value!cljs

(set-number-value! this val)

Property.

The read-only numberValue property of the web.XPathResult interface the numeric value of a result with web.XPathResult.resultType NUMBER_TYPE.

var value = result.numberValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/numberValue

Property.

The read-only numberValue property of the `web.XPathResult` interface
the numeric value of a result with `web.XPathResult.resultType`
NUMBER_TYPE.

`var value = result.numberValue;`

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

set-result-type!cljs

(set-result-type! this val)

Property.

The read-only resultType property of the web.XPathResult interface the type of the result, as defined by the type constants.

var resultType = result.resultType;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/resultType

Property.

The read-only resultType property of the `web.XPathResult` interface
the type of the result, as defined by the type constants.

`var resultType = result.resultType;`

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

set-single-node-value!cljs

(set-single-node-value! this val)

Property.

The read-only singleNodeValue property of the web.XPathResult returns a web.Node value or null in case no node was matched a result with web.XPathResult.resultType being ANY_UNORDERED_NODE_TYPE FIRST_ORDERED_NODE_TYPE.

var value = result.singleNodeValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue

Property.

The read-only singleNodeValue property of the `web.XPathResult`
returns a `web.Node` value or null in case no node was matched
a result with `web.XPathResult.resultType` being ANY_UNORDERED_NODE_TYPE
FIRST_ORDERED_NODE_TYPE.

`var value = result.singleNodeValue;`

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

set-snapshot-length!cljs

(set-snapshot-length! this val)

Property.

The read-only snapshotLength property of the web.XPathResult represents the number of nodes in the result snapshot.

var snapshotLength = result.snapshotLength;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength

Property.

The read-only snapshotLength property of the `web.XPathResult`
represents the number of nodes in the result snapshot.

`var snapshotLength = result.snapshotLength;`

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

set-string-value!cljs

(set-string-value! this val)

Property.

The read-only stringValue property of the web.XPathResult interface the string value of a result with web.XPathResult.resultType STRING_TYPE.

var value = result.stringValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue

Property.

The read-only stringValue property of the `web.XPathResult` interface
the string value of a result with `web.XPathResult.resultType`
STRING_TYPE.

`var value = result.stringValue;`

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

single-node-valuecljs

(single-node-value this)

Property.

The read-only singleNodeValue property of the web.XPathResult returns a web.Node value or null in case no node was matched a result with web.XPathResult.resultType being ANY_UNORDERED_NODE_TYPE FIRST_ORDERED_NODE_TYPE.

var value = result.singleNodeValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/singleNodeValue

Property.

The read-only singleNodeValue property of the `web.XPathResult`
returns a `web.Node` value or null in case no node was matched
a result with `web.XPathResult.resultType` being ANY_UNORDERED_NODE_TYPE
FIRST_ORDERED_NODE_TYPE.

`var value = result.singleNodeValue;`

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

snapshot-itemcljs

(snapshot-item this i)

Method.

The snapshotItem() method of the web.XPathResult interface an item of the snapshot collection or null in case the index not within the range of nodes. Unlike the iterator result, the does not become invalid, but may not correspond to the current if it is mutated.

var node = result.snapshotItem(i);

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotItem

Method.

The snapshotItem() method of the `web.XPathResult` interface
an item of the snapshot collection or null in case the index
not within the range of nodes. Unlike the iterator result, the
does not become invalid, but may not correspond to the current
if it is mutated.

`var node = result.snapshotItem(i);`

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

snapshot-lengthcljs

(snapshot-length this)

Property.

The read-only snapshotLength property of the web.XPathResult represents the number of nodes in the result snapshot.

var snapshotLength = result.snapshotLength;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/snapshotLength

Property.

The read-only snapshotLength property of the `web.XPathResult`
represents the number of nodes in the result snapshot.

`var snapshotLength = result.snapshotLength;`

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

string-valuecljs

(string-value this)

Property.

The read-only stringValue property of the web.XPathResult interface the string value of a result with web.XPathResult.resultType STRING_TYPE.

var value = result.stringValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XPathResult/stringValue

Property.

The read-only stringValue property of the `web.XPathResult` interface
the string value of a result with `web.XPathResult.resultType`
STRING_TYPE.

`var value = result.stringValue;`

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

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

× close