BaseMenuButton
Props
| Name | Description | Type | Default |
|---|---|---|---|
| length | Length of menu items | number | |
| disabled | Is button disabled | boolean (optional) | |
| variant | Variant for the button | TSIndexedAccessType (optional) | 'ghost' |
| iconOnly | Content is only icon | TSIndexedAccessType (optional) | true |
| menuClass | Class for menu | string (optional) |
Events
| Event name | Properties | Description |
|---|---|---|
| toggleMenu | state boolean - current state of menu | Triggers when menu is open |
Slots
| Name | Description | Bindings |
|---|---|---|
| button | ||
| content | Slot for content | index number - index of the menu item |