@nextcloud/dialogs
    Preparing search index...

    Interface DOMStringList

    The DOMStringList interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (DOMString).

    MDN Reference

    interface DOMStringList {
        length: number;
        contains(string: string): boolean;
        item(index: number): null | string;
        [index: number]: string;
    }

    Indexable

    • [index: number]: string
    Index

    Properties

    Methods

    Properties

    length: number

    The read-only length property indicates the number of strings in the DOMStringList.

    MDN Reference

    Methods

    • The contains() method returns a boolean indicating whether the given string is in the list.

      MDN Reference

      Parameters

      • string: string

      Returns boolean

    • The item() method returns a string from a DOMStringList by index.

      MDN Reference

      Parameters

      • index: number

      Returns null | string