textAt(i, [text])
Class: Tabs.
Description:
Sets or gets the text of the tab at specified index.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Index of the tab |
|
|
string |
New text for the tab |
Returns:
When setting text argument, this Tabs component object is returned; otherwise current text is returned.
Type: string | Tabs
