navigator.userAgent
Screen API: orientationchange event
Window API: orientationchange event
Window API: resize event
Window API: deviceorientation event
key value
window.matchMedia('(orientation: portrait)').matches
screen.orientation.type
window.matchMedia('(orientation: landscape)').matches
DeviceOrientationEvent.alpha
DeviceOrientationEvent.beta
DeviceOrientationEvent.gamma
window.orientation
key value
screen.width
screen.height
screen.availWidth
screen.availHeight
window.innerWidth
window.innerHeight
window.outerWidth
window.outerHeight
document.documentElement.clientWidth
document.documentElement.clientHeight
screen.colorDepth
screen.pixelDepth
window.devicePixelRatio