Window Object Properties

suggest change

The Window Object contains the following properties.

Property Description
window.closed Whether the window has been closed
window.length Number of child browsing contexts in the window
window.name Gets or sets the name of the window
window.innerHeight Height of the viewport
window.innerWidth Width of the viewport
window.screenX X-coordinate of the window, relative to the top left corner of the screen
window.screenY Y-coordinate of the window, relative to the top left corner of the screen
window.location Location object for the window (its current URL)
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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents