org.scalajs.dom.raw

HTMLCollection

abstract class HTMLCollection extends Object with DOMList[Element]

HTMLCollection is an interface representing a generic collection of elements (in document order) and offers methods and properties for traversing the list.

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
DOMList[Element], Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HTMLCollection
  2. DOMList
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HTMLCollection()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(index: Int): Element

    Definition Classes
    DOMList
    Annotations
    @JSBracketAccess()
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  17. def item(index: Int): Element

    Definition Classes
    DOMList
  18. def length: Int

    Definition Classes
    DOMList
  19. def namedItem(name: String): Element

    Returns the specific node whose ID or, as a fallback, name matches the string specified by name.

    Returns the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute. Returns null if no node exists by the given name.

    MDN

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toLocaleString(): String

    Definition Classes
    Object
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def update(index: Int, v: Element): Unit

    Definition Classes
    DOMList
    Annotations
    @JSBracketAccess()
  28. def valueOf(): Any

    Definition Classes
    Object
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def item(nameOrIndex: Any = js.native, optionalIndex: Any = js.native): Element

    Returns the specific node at the given zero-based index into the list.

    Returns the specific node at the given zero-based index into the list. Returns null if the index is out of range.

    MDN

    Annotations
    @deprecated
    Deprecated

    (Since version forever) Non-standard.

Inherited from DOMList[Element]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped