Interface NavRenderContext
public interface NavRenderContext
Everything a
NavRenderer needs to build or update its content for the current
nav state.-
Method Summary
Modifier and TypeMethodDescriptionThe path of the currently active navigation, with any leading/stripped.The current nav grouping strategy; callNavGrouper.nodeFor(MenuEntry)for each entry fromcom.vaadin.flow.server.menu.MenuConfiguration#getMenuEntries()that also passesnavItemFilter().Predicate<com.vaadin.flow.server.menu.MenuEntry> The configuredAppNavLayout.setNavItemFilter(Predicate)predicate (default: every entry included) —trueif a givenMenuEntryshould appear in the nav tree at all,falseto exclude it.The configuredAppNavLayout.setNavPathMatcher(BiPredicate)predicate for active-item matching (defaultString::equals).slots()The full set of named locations available to render into.