[ static enum ] State

Class: Window.

Description:

Different states that a Window can be in. Used with state() method for Window.

Type: number

Properties:

Name Description

Normal

The window is in its normal, restored state (not minimized or maximized).

Minimized

The window is minimized to the taskbar or dock.

Maximized

The window is maximized to fill the screen.

MaximizedHorizontally

The window is maximized horizontally but not vertically. Doesn't apply to InternalWindow component.

MaximizedVertically

The window is maximized vertically but not horizontally. Doesn't apply to InternalWindow component.

Examples:

window.state(Window.State.Maximized);

Also See: