Class HTMLCollection<T>

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

@JsType(isNative=true, namespace="<global>") public class HTMLCollection<T> extends Object implements elemental2.core.JsIterable<T>, 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
    item(int index)
     
     

    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 T item(int index)
    • namedItem

      public T namedItem(String name)