DOMRectList
Module: JavaScript DOM API
List of DOMRects.
#include <DOMRectList.idl>
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| getter DOMRect | item(unsigned long index) Get a DOMRect in the list. |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| readonly attribute unsigned long | length The number of DOMRects in the list. |
Public Functions Documentation
Section titled “Public Functions Documentation”function item
Section titled “function item”getter DOMRect item( unsigned long index)Get a DOMRect in the list.
Parameters:
- index index of the item
Return: the DOMRect at the specified index in the list or null if the index is greater than the length of the list
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable length
Section titled “variable length”readonly attribute unsigned long length;The number of DOMRects in the list.
© 2026 Coherent Labs. All rights reserved.