Newer Version Available
setTabStyle()
Sets a cascading style sheet (CSS) on the specified tab. If
a tab is not specified, the CSS is set on the enclosing tab. Use this method to
customize a tab’s look and feel. 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 style was successful, false if setting the tab’s style wasn’t successful. |