Name
Screen
Synopsis
screen
Properties
availHeight
The available height, in pixels, of the screen.
availWidth
Specifies the available width, in pixels, of the screen.
colorDepth
The depth of the browserâs color palette, or the number of bits-per-pixel for the screen.
height
Specifies the total height, in pixels, of the screen.
width
Specifies the total width, in pixels, of the screen.
See Also
Navigator
Get JavaScript Pocket Reference, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.