Open topic with navigation

# Menu

## StdWin. Menu

## new Menu(propsopt) → {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