Skip to content

BaseMenuButton ​

Props ​

NameDescriptionTypeDefault
lengthLength of menu itemsnumber
disabledIs button disabledboolean (optional)
variantVariant for the buttonTSIndexedAccessType (optional)'ghost'
iconOnlyContent is only iconTSIndexedAccessType (optional)true
menuClassClass for menustring (optional)

Events ​

Event namePropertiesDescription
toggleMenustate boolean - current state of menuTriggers when menu is open

Slots ​

NameDescriptionBindings
button
contentSlot for contentindex number - index of the menu item

Released under the GNU GPLv3 License.