textAt(i, [text])

Class: Tabs.

Description:

Sets or gets the text of the tab at specified index.

Parameters:

Name Type Description

i

number

Index of the tab

[text]

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