Skip to content
SiteEmail

DOMRectList

Module: JavaScript DOM API

List of DOMRects.

#include <DOMRectList.idl>

Name
getter DOMRectitem(unsigned long index)
Get a DOMRect in the list.
Name
readonly attribute unsigned longlength
The number of DOMRects in the list.
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

readonly attribute unsigned long length;

The number of DOMRects in the list.