Class NodeList
- java.lang.Object
-
- de.inetsoftware.jwebassembly.web.JSObject
-
- de.inetsoftware.jwebassembly.web.dom.NodeList
-
public class NodeList extends JSObject
https://developer.mozilla.org/en-US/docs/Web/API/NodeList
-
-
Constructor Summary
Constructors Constructor Description NodeList(java.lang.Object peer)
Create a Java instance as wrapper of the JavaScript object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
item(int idx)
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/itemint
length()
The number of items.
-
-
-
Method Detail
-
length
public int length()
The number of items.- Returns:
- the count
-
item
public Node item(int idx)
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/item- Parameters:
idx
- the index- Returns:
- the item
-
-