The Window Object contains the following properties.
Property | Description |
---|---|
window.closed | Whether the window has been closed |
window.length | Number of <iframe> elements in window |
window.name | Gets or sets the name of the window |
window.innerHeight | Height of window |
window.innerWidth | Width of window |
window.screenX | X-coordinate of pointer, relative to top left corner of screen |
window.screenY | Y-coordinate of pointer, relative to top left corner of screen |
window.location | Current URL of window object (or local file path) |
window.history | Reference to history object for browser window or tab. |
window.screen | Reference to screen object |
window.pageXOffset | Distance document has been scrolled horizontally |
window.pageYOffset | Distance document has been scrolled vertically |