setTabIcon()
Sets an icon on the specified tab. If a tab is not specified,
the icon is set on the enclosing tab. Use this method to customize a tab’s icon.
This method is only available in API
version 28.0 or later.
Syntax
Arguments
Sample Code–Visualforce
Response
This method is asynchronous, so it returns its response in an object in a callback method. The response object contains the following field:
| Name | Type | Description |
|---|---|---|
| success | boolean | true if setting the tab’s icon was successful, false if setting the tab’s icon wasn’t successful. |