windows.WindowState

The state of this browser window. Under some circumstances a Window may not be assigned state property, for example when querying closed windows from the sessions API.

Type

Values of this type are strings. Possible values are: "normal", "minimized", "maximized", "fullscreen", "docked".

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Acknowledgements

This API is based on Chromium's chrome.windows API. This documentation is derived from windows.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,