JavaScript detection of device screen size, orientation & pixel density
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
screen-info.js

README.md

screen-info.js

screen-info.js

JavaScript detection of device screen size, orientation & pixel density.

How to use

window.screenInfo provides information on:

  • height
  • maxTouchPoints
  • orientation
  • pixelDensity
  • retinaDisplay
  • width