Search.../

currentTab

Gets the tab currently displayed in the tabs element.

Type:

TabRead Only

Was this helpful?

Get the current tab and its label

Copy Code
1let myCurrentTab = $w("#myTabsElement").currentTab;
2
3let myTabLabel = myCurrentTab.label; // "Second Tab"