Window.Expanding

Syntax

Expanding: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The Expanding event occurs on window expanding.

Comments

The window is expanded if it is fully shown in the page.

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). Add a handler of the Expanding event:

// Add an event handler
win.Expanding.add(function(sender, args) {
    console.log("Window expands");
});

During the window expanding, the console displays the message:

The window expands

See also:

Window