nav-simplifier-vaadinflow
vaadin-navsimplifier-vaadinflow
nav-simplifier-vaadinflow
The Vaadin Flow Nav-Simplifier is used to build a beautiful and full responsible menu bar.
Features
The NavSimplifier contains support to create a menu bar for a @Route annotated Vaadin-Component. Also it can handle Spring Security. All views they are annotated with @Secured will be checked for access. If no access is granted, the view won't be accessible via the menu bar.
Sample code
@Theme(Lumo.class) public class DefaultRouterLayout extends NavSimplifier { private static final long serialVersionUID = 7884694976649733789L; public DefaultRouterLayout() { super("NavSimplifier"); } }
@Route(value = "", layout = DefaultRouterLayout.class) @NavSimplifierMenu(title = "First View", order = 1) public class FirstView extends Div { private static final long serialVersionUID = -5158142690500992170L; public FirstView() { add(new Label("First view!")); } }
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
Add nav-simplifier polymer src code instead of using a separate repo and annotation based configuration
- Released
- 2018-08-04
- Maturity
- EXPERIMENTAL
- License
- MIT License
Compatibility
- Framework
- Vaadin 10+
- Browser
- Firefox
- Safari
- Google Chrome