web api instance property
ScreenDetails: screens property
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]
screensonly 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.