Expanding: function (sender, args);
sender. Event source.
args. Event information.
The Expanding event occurs on window expanding.
The window is expanded if it is fully shown in the page.
Expanding of the window occurs on pressing the button.
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: