NavigationBar.Expanded

Syntax

Expanded: function(sender,args)

Parameters

sender. Event source.

args. Event information.

Description

The Expanded event occurs after expanding a panel tab.

Example

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:

NavigationBar