W3cubDocs

/Haxe JavaScript

XPathResult

package js.html

@:native("XPathResult") Available on js

Variables

read only booleanValue:Bool

readonly boolean

read only invalidIteratorState:Bool

readonly boolean

read only numberValue:Float

readonly float

read only resultType:Int

readonly integer (short)

read only singleNodeValue:Node

readonly Node

read only snapshotLength:Int

readonly Integer

read only stringValue:String

readonly String

Methods

iterateNext ():Node

Throws:

null DOMError

snapshotItem (index:Int):Node

Throws:

null DOMError

Static variables

@:value(0) static inline read only ANY_TYPE:Int = 0

@:value(8) static inline read only ANY_UNORDERED_NODE_TYPE:Int = 8

@:value(3) static inline read only BOOLEAN_TYPE:Int = 3

@:value(9) static inline read only FIRST_ORDERED_NODE_TYPE:Int = 9

@:value(1) static inline read only NUMBER_TYPE:Int = 1

@:value(5) static inline read only ORDERED_NODE_ITERATOR_TYPE:Int = 5

@:value(7) static inline read only ORDERED_NODE_SNAPSHOT_TYPE:Int = 7

@:value(2) static inline read only STRING_TYPE:Int = 2

@:value(4) static inline read only UNORDERED_NODE_ITERATOR_TYPE:Int = 4

@:value(6) static inline read only UNORDERED_NODE_SNAPSHOT_TYPE:Int = 6

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/XPathResult.html