Opening: function (sender, args)
sender. Event source.
args. Event information.
The Opening event occurs before opening the component.
To execute the example, create the DropPanel component named DP, and a button named btn (see Example of Creating the DropPanel Component). Add a handler of the Opening event:
DP.Opening.add(function (sender, args)
{
btn.dispose();
})
After executing the example on pressing the button the panel is expanded. The button is deleted while opening the panel.
See also: