public class HTMLCollection extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Number> |
length
Sets or retrieves the number of objects in a collection.
|
Modifier | Constructor and Description |
---|---|
protected |
HTMLCollection(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static HTMLCollection |
$as(Object obj) |
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.
|
Number |
length() |
Element |
namedItem(String name)
Retrieves a select object or an object from an options collection.
|
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Number> length
protected HTMLCollection(Objs.Constructor<?> c, Object js)
public static HTMLCollection $as(Object obj)
public Number length()
public Element $get(double index)
public Element item(Object nameOrIndex, Object optionalIndex)
public Element item()
Copyright © 2018. All rights reserved.