Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

Hierarchy

Indexable

[index: number]: TNode

Index

Properties

Methods

Properties

length: number

Returns the number of nodes in the collection.

Methods

  • forEach(callbackfn: ((value: TNode, key: number, parent: NodeListOf<TNode>) => void), thisArg?: any): void
  • Performs the specified action for each node in an list.

    Parameters

    • callbackfn: ((value: TNode, key: number, parent: NodeListOf<TNode>) => void)

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

        • (value: TNode, key: number, parent: NodeListOf<TNode>): void
        • Parameters

          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(index: number): TNode
  • Parameters

    • index: number

    Returns TNode

Generated using TypeDoc