Skip to content

tsuoanttila/sidemenu-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Published on Vaadin  Directory Stars on Vaadin Directory

SideMenu Add-on for Vaadin

This is a simple Vaadin component that allows the user to make side menus like in http://demo.vaadin.com/dashboard easily.

Usage:

public class MyUI extends UI {

  @Override
  public void init(VaadinRequest request) {
    SideMenu menu = new SideMenu();
    menu.setMenuCaption("MyUI Menu");
    menu.addMenuItem("My Menu Entry", () -> {
      Notification.show("Here is my custom action for this menu item.");
    });
    setContent(menu);
  }
}