Packages

c

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HTMLCollection()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(index: Int): Element
    Definition Classes
    DOMList
    Annotations
    @JSBracketAccess()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  15. def item(index: Int): Element
    Definition Classes
    DOMList
  16. def length: Int
    Definition Classes
    DOMList
  17. 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

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toLocaleString(): String
    Definition Classes
    Object
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def update(index: Int, v: Element): Unit
    Definition Classes
    DOMList
    Annotations
    @JSBracketAccess()
  26. def valueOf(): Any
    Definition Classes
    Object
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @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