Class HTMLCollection<T extends @Nullable Object>

java.lang.Object
elemental2.dom.HTMLCollection<T>
All Implemented Interfaces:
elemental2.core.JsIterable<T,@Nullable Object,@Nullable Object>, jsinterop.base.JsArrayLike<T>, jsinterop.base.JsPropertyMap<T>
Direct Known Subclasses:
HTMLFormControlsCollection, HTMLOptionsCollection

@JsType(isNative=true, namespace="<global>") public class HTMLCollection<T extends @Nullable Object> extends Object implements elemental2.core.JsIterable<T,@Nullable Object,@Nullable Object>, jsinterop.base.JsArrayLike<T>, jsinterop.base.JsPropertyMap<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable T
    item(int index)
     
    @Nullable T
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jsinterop.base.JsArrayLike

    asList, delete, getAt, getAtAsAny, getLength, setAt, setLength

    Methods inherited from interface jsinterop.base.JsPropertyMap

    delete, forEach, get, getAsAny, has, nestedGet, nestedGetAsAny, set
  • Field Details

    • length

      public int length
  • Constructor Details

    • HTMLCollection

      public HTMLCollection()
  • Method Details

    • item

      public @Nullable T item(int index)
    • namedItem

      public @Nullable T namedItem(String name)