@nextcloud/dialogs
    Preparing search index...

    Interface NodeListOf<TNode>

    NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().

    MDN Reference

    interface NodeListOf<TNode extends Node> {
        length: number;
        forEach(
            callbackfn: (
                value: TNode,
                key: number,
                parent: NodeListOf<TNode>,
            ) => void,
            thisArg?: any,
        ): void;
        item(index: number): TNode;
        [index: number]: TNode;
    }

    Type Parameters

    Hierarchy (View Summary)

    Indexable

    Index

    Properties

    Methods

    Properties

    length: number

    The NodeList.length property returns the number of items in a NodeList.

    MDN Reference

    Methods

    • Parameters

      Returns void

    • Returns a node from a NodeList by index.

      MDN Reference

      Parameters

      • index: number

      Returns TNode