MenuBar and MenuItem components
A MenuBar for Vaadin Flow
MenuBar and MenuItem for Vaadin 10+
Sample code
HorizontalLayout hlMenu = new HorizontalLayout(); MenuBar awMenu = new MenuBar("Sistema"); awMenu.addMenuItem("item 1", new IItemClickListener() { @Override public void onItemClick(MenuItem mi) { Notification.show("Item Click: "); } }); awMenu.addMenuItem("item 2",VaadinIcon.ABACUS.create()); awMenu.addMenuItem("item 3"); hlMenu.add(awMenu); add(hlMenu);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2019-02-26
- Maturity
- EXPERIMENTAL
- License
- Other
Compatibility
- Framework
- Browser
- N/A
MenuBar and MenuItem components - Vaadin Add-on Directory
A MenuBar for Vaadin FlowMenuBar and MenuItem for Vaadin 10+