setLabel (Client API reference)
Sets the label for the item.
Syntax
navigationItem.setLabel(label);
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| label | String | Yes | The new label for the item. |
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 for the item.
navigationItem.setLabel(label);
| Name | Type | Required | Description |
|---|---|---|---|
| label | String | Yes | The new label for the item. |