Same as isActive.
Same as isFullscreen.
Whether the window is active.
Whether the window is fullscreen.
Whether the window is maximized.
Whether the window is minimized.
Same as isMaximized.
Same as isMinimized.
Id of the window that changed: main for the main window, else the popup's id. The same value window.getCurrentWindowId gives that window's page.
Payload of the
window:stateChangedevent. The main window was maximized, minimized, restored, activated or deactivated, or entered or left fullscreen; a popup sends it only when it enters or leaves fullscreen. It goes to every window, andwindowIdsays which window changed: a page that only cares about its own window compares it withwindow.getCurrentWindowId. The main window sends it only when one of the four states differs from what it last sent.