Back to Content

ScreenDetails: screens property

files/en-us/web/api/screendetails/screens/index.md

latest754 B
Original Source

{{APIRef("Window Management API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The screens read-only property of the {{domxref("ScreenDetails")}} interface contains an array of {{domxref("ScreenDetailed")}} objects, each one representing detailed information about one specific screen available to the user's device.

Value

An array of {{domxref("ScreenDetailed")}} objects.

[!NOTE] screens only includes "extended" displays, not those that mirror another display.

Examples

See the main ScreenDetails page for example usage.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also