MDN self-hosted library · e01.org

ScreenDetails: screens property

Window Management API

no runnable cells web-api-instance-property upstream source

Window Management API

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

Value

An array of ScreenDetailed objects.

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

Examples

See the main ScreenDetails page for example usage.

Specifications

Browser compatibility

See also