JavaScript
A5.PanelNavigatorsetActivePanel Method
Syntax
A5.PanelNavigator.setActivePanel(panel[,animation])
Arguments
- panelstring
The name of the panel to activate. Multiple nested panels (such as a panel card in a panel layout) can be activated by using a ":" to separate names.
- animationboolean
Whether or not to animate the panel navigation transition. The default value is true.
Description
Activate a child panel of the navigator.
Example
// assume pObj is a pointer to a panel class pObj.setActivePanel('main'); // set the panel named "main" to be the active panel