Tabbar API

Methods
addCell adds a new tab into a tabbar
addTab adds a new tab into a tabbar
destructor removes a Tabbar instance and releases occupied resources
disableTab disables a tab on a page
enableTab enables a disabled tab
getActive gets the id of the active tab
getCell returns the config object of a cell
getId returns the id of a tab by its index
getWidget returns the widget attached to Tabbar
isDisabled checks whether a tab is disabled
paint repaints a tabbar on a page
removeCell removes a tab from a tabbar
removeTab removes a tab from a tabbar
setActive sets an active tab params
Events
afterClose fires after closing a tab in Tabbar
beforeClose fires before closing a tab in Tabbar
change fires on changing the active tab
close fires on closing a tab
Properties
activeTab sets the currently active tab
activeView sets the currently active view
closable adds close buttons for tabs
closeButtons adds close buttons for tabs
css the name of a CSS class(es) applied to Tabbar
disabled makes a tab/tabs disabled
mode specifies the mode of displaying a tabbar
noContent defines whether tabs contain any content
tabHeight sets the height of a tab
tabWidth sets the width of a tab
views defines the configuration of tabs
Back to top