setVisible (Client API reference)
Sets a value that indicates whether the item is visible.
Syntax
navigationItem.setVisible(bool);
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| bool | Boolean | Yes | Specify true or false to indicate whether the item is visible or not. |