Firefox Tomorrow

web api instance property

ScreenDetails: screens property

View on MDN ↗

Limited availabilitySecure context

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also