navigationItem.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. |
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
Sets the label for the item.
navigationItem.setLabel(label);
Name | Type | Required | Description |
---|---|---|---|
label |
String | Yes | The new label for the item. |