See Also:
Accordion Layout
Table Layout
Grid Layout
Linear Layout
Navigation Bar Layout
Relative Layout
Fill Layout
ViewPager layout
Tabs layout
layout:{
type: 'docking' // or tabs
}
The docking layout extends the Tab layout.
All the configuration properties are the same, so the description here will be short.
The only difference between the ludo.layout.Docking layout and the ludo.layout.Tab is that you can choose not to show any child views.
When no child views are visible, the size of the docking view will collapse to the size of the tab strip.
The view can be collapsed by clicking on the tab for the visible child view.
It can also be hidden during runtime with code:
ludo.$('idOfChild').hide();
By default, the docking layout will be shown in collapsed state. To initially display a child view, set layout.visible to true for that particular child view.
children:[
{
title:'Tab title',
layout:{ visible:true }
}
]