@nextcloud/dialogs
    Preparing search index...

    Interface HTMLFormControlsCollection

    The HTMLFormControlsCollection interface represents a collection of HTML form control elements, returned by the HTMLFormElement interface's HTMLFormElement.elements property.

    MDN Reference

    interface HTMLFormControlsCollection {
        length: number;
        item(index: number): null | Element;
        namedItem(name: string): null | Element | RadioNodeList;
        [index: number]: Element;
    }

    Hierarchy (View Summary)

    Indexable

    Index

    Properties

    Methods

    Properties

    length: number

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

    MDN Reference

    Methods

    • The HTMLCollection method item() returns the element located at the specified offset into the collection.

      MDN Reference

      Parameters

      • index: number

      Returns null | Element

    • The HTMLFormControlsCollection.namedItem() method returns the RadioNodeList or the Element in the collection whose name or id match the specified name, or null if no node matches.

      MDN Reference

      Parameters

      • name: string

      Returns null | Element | RadioNodeList