Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 803 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 803 Bytes

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);
  }
}