NodeList
Overview
NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
entries
Returns an iterator, allowing code to go through all key/value pairs contained in the collection. (In this case, the keys are numbers starting from 0 and the values are nodes.)
method entries: dynamic
dynamic entries()
func entries() -> dynamic
dynamic entries()
Function entries() As dynamic
forEach
Executes a provided function once per NodeList element, passing the element as an argument to the function.
method forEach(parcallback: dynamic; parcurrentValue: dynamic; parcurrentIndex: dynamic; parlistObj: dynamic): HTMLElement
HTMLElement forEach(dynamic parcallback, dynamic parcurrentValue, dynamic parcurrentIndex, dynamic parlistObj)
func forEach(_ parcallback: dynamic, _ parcurrentValue: dynamic, _ parcurrentIndex: dynamic, _ parlistObj: dynamic) -> HTMLElement
HTMLElement forEach(dynamic parcallback, dynamic parcurrentValue, dynamic parcurrentIndex, dynamic parlistObj)
Function forEach(parcallback As dynamic, parcurrentValue As dynamic, parcurrentIndex As dynamic, parlistObj As dynamic) As HTMLElement
Parameters:
- parcallback:
- parcurrentValue:
- parcurrentIndex:
- parlistObj:
item
keys
Returns an iterator, allowing code to go through all the keys of the key/value pairs contained in the collection. (In this case, the keys are numbers starting from 0.)
method keys: dynamic
dynamic keys()
func keys() -> dynamic
dynamic keys()
Function keys() As dynamic
length
property length: Int32 read write;
Int32 length { get; set; }
var length: Int32 { get{} set{} }
Int32 length { __get; __set; }
Property length() As Int32
values
Returns an iterator allowing code to go through all values (nodes) of the key/value pairs contained in the collection.
method values: dynamic
dynamic values()
func values() -> dynamic
dynamic values()
Function values() As dynamic
item
length
entries
Returns an iterator, allowing code to go through all key/value pairs contained in the collection. (In this case, the keys are numbers starting from 0 and the values are nodes.)
method entries: dynamic
dynamic entries()
func entries() -> dynamic
dynamic entries()
Function entries() As dynamic
forEach
Executes a provided function once per NodeList element, passing the element as an argument to the function.
method forEach(parcallback: dynamic; parcurrentValue: dynamic; parcurrentIndex: dynamic; parlistObj: dynamic): HTMLElement
HTMLElement forEach(dynamic parcallback, dynamic parcurrentValue, dynamic parcurrentIndex, dynamic parlistObj)
func forEach(_ parcallback: dynamic, _ parcurrentValue: dynamic, _ parcurrentIndex: dynamic, _ parlistObj: dynamic) -> HTMLElement
HTMLElement forEach(dynamic parcallback, dynamic parcurrentValue, dynamic parcurrentIndex, dynamic parlistObj)
Function forEach(parcallback As dynamic, parcurrentValue As dynamic, parcurrentIndex As dynamic, parlistObj As dynamic) As HTMLElement
Parameters:
- parcallback:
- parcurrentValue:
- parcurrentIndex:
- parlistObj:
keys
Returns an iterator, allowing code to go through all the keys of the key/value pairs contained in the collection. (In this case, the keys are numbers starting from 0.)
method keys: dynamic
dynamic keys()
func keys() -> dynamic
dynamic keys()
Function keys() As dynamic
values
Returns an iterator allowing code to go through all values (nodes) of the key/value pairs contained in the collection.
method values: dynamic
dynamic values()
func values() -> dynamic
dynamic values()
Function values() As dynamic