Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Coming soon.Eine MenuBar ist eine Button-Reihe in welchen verschiedene UI-Komponente hinzugefügt werden kann.

...

Beispiel:

Code Block
languagejava
final MenuBar menuBar = new MenuBar();
menuBar.addThemeVariants(MenuBarVariant.LUMO_PRIMARY);

menuBar.addItem("Click me!", e -> new Dialog(new Label("You clicked the first item!")).open());
menuBar.addItem(new Label("Label inside"));

this.add(menuBar);

Vaadin Documentation