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.

ExpandBarItem

Java. ExpandBarItem

ExpandBarItem

Constructor

new ExpandBarItem()

The ExpandBarItem object

Methods

collapse() → {Promise.<void>}

Collapses the item in the ExpandBar.
Returns:
a promise that is fulfilled when the collapse operation ends.
Type
Promise.<void>

expand() → {Promise.<void>}

Expands the item in the ExpandBar.
Returns:
a promise that is fulfilled when the expand operation ends.
Type
Promise.<void>

label() → {Promise.<string>}

Returns the specified ExpandBar item label.
Returns:
a promise that is fulfilled when the label operation ends.
Type
Promise.<string>