Expanded: function(sender,args)
sender. Event source.
args. Event information.
The Expanded event occurs after expanding a panel tab.
To execute the example, the page must contain the NavigationBar component named NB (see Example of Creating the NavigationBar Component). Add a handler for the Expanded event:
NB.Expanded.add(function ()
{
NB.setHeight(NB.getActiveItem().getHeightOfCDomNode())
})
After expanding one of the tabs the panel height equals to height of DOM of the opened tab.
See also: