JavaScript
A5.PanelNavigatorcreate Method
Syntax
A5.PanelNavigator.create(id)
Arguments
- idstring
Create the panel.
Returns
- elementelement
The panel element.
Description
Create the panel.
Discussion
When you have manually defined a panel class, you will need to create the panel element after the class has been created. You do this on the top most panel (if using A5.PanelNavigator or A5.PanelLayout). All child panel elements will automatically be created inside the top level panel element.
Example
// assume pObj is a pointer to a panel class var pEle = pObj.create(); // create panel element document.body.appendChild(pEle); // append to body