Replies: 2 comments 1 reply
-
What are your thoughts on this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@rin-yato |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not quite sure how to handle selection for menu items. Currently I have a
handleSelection
on the root that just run a switch statement on the item's value and deciding what to do after that.I was hoping that there would be a simpler way. Would it be possible to have an
onSelect
callback for menu item where it would be trigger on click, touch or keyboard action.Beta Was this translation helpful? Give feedback.
All reactions