defines tabs in a tabbar
webix.ui({
view:"tabbar",
id:'tabbar',
value: 'listView', // the initially selected tab
multiview:true,
options: [
{ value: 'List', id: 'listView'},
{ value: 'Form', id: 'formView'},
{ value: 'Empty', id: 'emptyView'}
]
});
The property is an array of objects, each of which presents a singular select option on a toolbar.
The objects in the array have 2 attributes:
Nore that the getValue() method returns the ID of selected option.
Back to top