Documentation

options

defines tabs in a tabbar

object options;

Example

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'}
          ]
});

See also

Details

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:

  • id - (id) the item id
  • value - (string) the item label

Nore that the getValue() method returns the ID of selected option.

Back to top