- 1
All details for img screen display size
2 Respuestas
+ 1
for screen properties, among wich size and available size, use the window.screen object:
https://developer.mozilla.org/en-US/docs/Web/API/Screen
for window size, use outerWidth, outerHeight, innerWidth and innerHeight window propeties:
https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth
https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight
https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth
https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight