Search.../

label

Sets or gets the tab's label.

Description

The tab label appears in the tab's menu item. It is limited to 120 characters.

Type:

stringRead & Write

Was this helpful?

Get a tab's label

Copy Code
1let label = $w("#singleTab1").label; // "My First Tab"
Set a tab's label

Copy Code
1$w("#singleTab1").label = "New Tab Label";