Browser Flashcards
1
Q
window.innerWidth
A
Width (in pixels) of the browser window viewport including, if rendered, the vertical scrollbar.
2
Q
window.outerWidth
A
window.outerWidth gets the width of the outside of the browser window. It represents the width of the whole browser window including sidebar (if expanded), window chrome and window resizing borders/handles.