vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
619 stars 167 forks source link

MenuConfiguration.menuClass is a weird name #20486

Open Artur- opened 9 hours ago

Artur- commented 9 hours ago

Description of the bug

When creating the menu, I typically loop through the menu entries and want to use

  1. The title/text to show in the menu
  2. A possible icon to show
  3. The route class that the menu item should link to

The last one I can never found because the naming "menuClass" is so unintuitive

Expected behavior

It would be routeClass instead of menuClass

Minimal reproducible example

-

Versions

24.6