Opened: function (sender, args)
sender. Event source.
args. Event information.
The Opened event is fired after 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 the Opened event handler:
DP.Opened.add(function (sender, args)
{
btn.setWidth(DP.getWidth());
})
After executing the example on pressing the button the panel opens: And the width of the btn button is equal to the panel width.
See also: