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.

Menu

StdWin. Menu

The description of a Menu test object.
Parameters:
Name Type Attributes Description
props Object <optional>
Initializes a Menu test object using the supplied property bag.
Returns:
the description object that was initialized.
Type
Menu

Methods

type(typeopt) → {StdWin.MenuType|Description}

The menu type. The possible value is in the enum StdWin.MenuType
Parameters:
Name Type Attributes Description
type StdWin.MenuType <optional>
When provided, this method acts as a setter and sets the type value.
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored type value; otherwise it returns 'this' for use with the builder pattern.
Type
StdWin.MenuType | Description