Overview
Implements a dropdown set of options, based on Keen's UI Menu. See these docs to understand the current implementation of the options object array.
Notable possible for configuring the menu include: icons, text, secondary text, and dividers.
Please see the Dropdown section of the Buttons and links page on the buttons page for more details about how to use with a button, and a code example.
Props
Name | Description | Type | Default | Required |
---|---|---|---|---|
options | An array of options objects, with one object per dropdown item | array | — | true |
hasIcons | Whether or not the options display an icon | boolean |
false
| — |
position | The position of the dropdown relative to the button | string |
'bottom right'
| — |
Events
Name | Description |
---|---|
tab | — |
select | Emitted when an option is selected |
close | — |