To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

Tab

StdWin. Tab

Tab

Constructor

new Tab()

A Tab object

Methods

isSelected() → {Promise.<bool>}

Checks if the tab is selected.
Returns:
an indication of whether the tab is selected or not.
Type
Promise.<bool>

text() → {Promise.<string>}

Gets the text of the tab.
Returns:
the text of the tab.
Type
Promise.<string>