# new AashDropdownMenuComponent(props)
Parameters:
Name | Type | Description |
---|---|---|
props |
Object
|
The properties |
id |
string
|
The id for the enclosing |
label |
string
|
The text of the |
items |
Array
|
The menu items as an array with elements
of type |
l10n |
function
|
A function invoked with a menu item's label (of type string) as argument before the label is rendered |
action |
function
|
A function that is invoked when an item has
been chosen. The chosen item, i.e. the entry from the list of
|