setLabel (Client API reference)
Sets the label of the tab.
Syntax
tabObj.setLabel(label);
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| label | String | Yes | The new label of the tab. |
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets the label of the tab.
tabObj.setLabel(label);
| Name | Type | Required | Description |
|---|---|---|---|
| label | String | Yes | The new label of the tab. |