Interface NavRenderContext


public interface NavRenderContext
Everything a NavRenderer needs to build or update its content for the current nav state.
  • Method Summary

    Modifier and Type
    Method
    Description
    The path of the currently active navigation, with any leading / stripped.
    The current nav grouping strategy; call NavGrouper.nodeFor(MenuEntry) for each entry from com.vaadin.flow.server.menu.MenuConfiguration#getMenuEntries().
    The full set of named locations available to render into.
  • Method Details

    • currentPath

      String currentPath()
      The path of the currently active navigation, with any leading / stripped.
    • slots

      NavSlots slots()
      The full set of named locations available to render into.