Invokes the "full screen" operation on the current window. The exact behavior of this command is specific to individual window managers, but this will typically increase the window size to the size of the physical display and hide the browser chrome.
A promise that will be resolved when the command has completed.
Returns the current top-level window's size and position.
Maximizes the current window. The exact behavior of this command is specific to individual window managers, but typically involves increasing the window to the maximum available size without going full-screen.
A promise that will be resolved when the command has completed.
Repositions the current window.
The desired horizontal position, relative to the left side of the screen.
The desired vertical position, relative to the top of the of the screen.
A promise that will be resolved when the command has completed.
Sets the current top-level window's size and position. You may update
just the size by omitting x
& y
, or just the position by omitting
width
& height
options.
Generated using TypeDoc
An interface for managing the current window.