Usage: layout: layout: {type: "tab" }
Layout rendering child views in a tab layout. By default, the first child view will be displayed. You can override
this by setting layout.visible to true for a specific child.
For a demo, see Tab layout demo.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
- Source:
Example
var w = new ludo.Window({ left: 50, top: 50, title: 'Tab layout', width: 500, height: 400, layout: { type: 'tab', tabs: 'top' }, children:[ { title:'first tab' }, { title:'second tab', layout:{ visible:true } } ] });