Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NodeList
    • RadioNodeList

Indexable

[index: number]: Node

Index

Properties

NodeList

NodeList: object

Type declaration

  • constructor: function
    • new __type(): NodeList
    • Returns NodeList

  • prototype: NodeList

length

length: number

Returns the number of nodes in the collection.

value

value: string

Methods

[Symbol.iterator]

entries

  • Returns an array of key, value pairs for every entry in the list.

    Returns IterableIterator<[number, Node]>

forEach

  • forEach(callbackfn: function, thisArg?: any): void
  • Performs the specified action for each node in an list.

    Parameters

    • callbackfn: function

      A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.

        • (value: Node, key: number, parent: NodeList): void
        • Parameters

          • value: Node
          • key: number
          • parent: NodeList

          Returns void

    • Optional thisArg: any

      An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

    Returns void

item

  • item(index: number): Node | null
  • Returns the node with index index from the collection. The nodes are sorted in tree order.

    Parameters

    • index: number

    Returns Node | null

keys

  • Returns an list of keys in the list.

    Returns IterableIterator<number>

values

Generated using TypeDoc