expand ();
The expand method expands the panel.
To execute the example, create the NavigationBar component named NB (see Example of Creating the NavigationBar Component). Use the expand method to display opened top tab on loading the page:
NB.getItem(0).expand();
After executing the example on opening the HTML page the navigator will look as follows:
See also: