iconAt(i, [icon])
Class: Tabs.
Description:
Sets or gets the icon for the tab at specified index.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Index of the tab |
|
|
string | null |
Icon's path (URL, relative or absolute path) or base64 encoded image. Set |
Returns:
When setting icon argument, this Tabs component object is returned; otherwise current icon is returned as base64 encoded string or null if the icon was not set.
Type: string | null | Tabs
