@nextcloud/dialogs
    Preparing search index...

    Interface DOMRectList

    The DOMRectList interface represents a collection of DOMRect objects, typically used to hold the rectangles associated with a particular element, like bounding boxes returned by methods such as Element.getClientRects.

    MDN Reference

    interface DOMRectList {
        length: number;
        item(index: number): null | DOMRect;
        [index: number]: DOMRect;
    }

    Indexable

    Index

    Properties

    Methods

    Properties

    length: number

    The read-only length property of the DOMRectList interface returns the number of DOMRect objects in the list.

    MDN Reference

    Methods

    • The DOMRectList method item() returns the DOMRect at the specified index within the list, or null if the index is out of range.

      MDN Reference

      Parameters

      • index: number

      Returns null | DOMRect