collapse ();
The collapse method collapses the panel.
An example of using this method is given on the Example of Creating the NavigationBar Component page.
See also:
NavigationItem