@SyntacticIterable public class HTMLCollection extends Iterable<Element>
Modifier and Type | Field and Description |
---|---|
double |
length
Sets or retrieves the number of objects in a collection.
|
static HTMLCollection |
prototype |
constructor
Constructor and Description |
---|
HTMLCollection() |
Modifier and Type | Method and Description |
---|---|
Element |
$get(double index) |
Element |
item()
Retrieves an object from various collections.
|
Element |
item(Object nameOrIndex)
Retrieves an object from various collections.
|
Element |
item(Object nameOrIndex,
Object optionalIndex)
Retrieves an object from various collections.
|
Iterator<Element> |
iterator()
From Iterable, to allow foreach loop (do not use directly).
|
Element |
namedItem(String name)
Retrieves a select object or an object from an options collection.
|
$applyStatic, $applyStatic, $delete, $delete, $get, $get, $set, $set, $super, assign, create, create, defineProperties, defineProperty, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, hasOwnProperty, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, propertyIsEnumerable, propertyIsEnumerable, seal, toJSString, toLocaleString, toString, valueOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public double length
public static HTMLCollection prototype
public Element item(Object nameOrIndex, Object optionalIndex)
public Element namedItem(String name)
public Element $get(double index)
public Element item()