TabView
The TabView control is used to display multiple panels as tabs.
The TabView inherits all the methods and properties from the base class View.
Constructor:
constructor(parent: View)
Creates an instance of TabView control.parent: the View containing the control itself.
Properties:
tabs: View[]
array of views that represent the tabs in the TabView.activeTab: View
Holds a reference to the currently active tab View.activeTabIndex: number
Represents the zero based index of the currently active tab.
Methods:
changing(handler: (e: TabViewChangeEvent)=> any)
Registers an event handler that is triggered before the tab changes. Usee.nextto access the view that is about to be selected.change(handler: (e: ViewEvent)=> any)
Registers an event handler that is triggered after the tab has changed.