defines tabs in a tabbar
webix.ui({
view:"tabbar",
id:"tabbar",
value:"listView", // the initially selected tab
multiview:true,
options: [
{ id:"listView", value:"List" },
{ id:"formView", value:"Form" },
{ id:"emptyView", value:"Empty" }
]
});
The property expects an array of either strings or objects.
If you pass the array of strings, they will serve both as the labels and the IDs:
webix.ui({
view:"tabbar",
value:"One",
options:[
"One","Two","Three"
]
});
A more detailed way to set options is to pass an array of objects, each with 4 attributes:
false
by default).