Open menu with standard button instead of MenuButton #1934
ThomasKientz
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To open a
Menu
we are forced to add aMenuButton
. That's not very flexible as we can not use a standard button or a custom component (without rewriting it to implement MenuButton).One way to address this would be to expose
api.openMenu()
as a slot prop. It would look like this :Even better,
Menu
could expose event handlers and attributes (inspired from Vuetify's VMenu)What do you think ?
Beta Was this translation helpful? Give feedback.
All reactions