Gets the collection of tab pages.
Namespace: MindFusion.Common.UI
File: TabControl.js
JavaScript Copy Code |
---|
get tabs() {} |
ObservableCollection. The collection of TabPage-s.
The following code creates a TabControl using a reference to an HTML <div> element called "tabcontrol". It adds one TabPage to the control and selects that page:
JavaScript Copy Code |
---|
// create a new instance of the TabControl control var tab = new ui.TabPage("«"); tabControl.tabs.add(tab); |