screen-info.js
JavaScript detection of device screen size, orientation & pixel density.
Example
var screenInfo = ; /* { ... maxTouchPoints: 5, orientation: 'landscape' ...} */ console; // 5console; // landscape
screenInfo
provides information on:
- height
- maxTouchPoints
- orientation
- pixelDensity
- retinaDisplay
- width