Menu
<gstock-menu>
|
GstockMenu
API
Properties
| Name | Description | Reflects | Type | Default |
|---|---|---|---|---|
size
|
The size of the menu items. |
|
'small' | 'medium' | 'large'
|
'medium'
|
updateComplete
|
A read-only promise that resolves when the component has finished updating. |
Learn more about attributes and properties .
Events
| Name | React Event | Description | Event Detail |
|---|---|---|---|
gstock-select-event
|
onGstockSelectEvent
|
Emitted when a menu item is selected. | - |
Learn more about events .
Slots
| Name | Description |
|---|---|
default
|
The menu’s content, including menu items, menu labels, and dividers. |
Learn more about slots .