Home Reference Source Repository
import NodeList from 'html-document/src/NodeList.js'
public class | source

NodeList

NodeList objects are collections of nodes such as those returned by Node.childNodes and the document.querySelectorAll method..

See:

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public
public

item(index: number): Node | null

Public Constructors

public constructor source

Public Members

public length: number source

Properties:

NameTypeAttributeDescription
length number

length of the list

Public Methods

public [Symbol.iterator](): * source

Return:

*

public item(index: number): Node | null source

Params:

NameTypeAttributeDescription
index number

Return:

Node | null