Window.getIsExpanded

Syntax

getIsExpanded();

Description

The getIsExpanded method returns whether the window is expanded.

Comments

The method returns True if window is expanded, otherwise it returns False.

Expanding of the window occurs on pressing the button.

Example

To execute the example, the HTML page must contain the Window component named win (see Example of creating the Window component). Check window state:

// Check window state
if (win.getIsExpanded()) {
    console.log("Window is expanded");
} else {
    console.log("Window is not expanded");
}

As a result the console displays check result:

Window is not expanded

See also:

Window