Interface NavSlots
public interface NavSlots
The full set of named locations
AppNavLayout has for nav-item content. Every
NavRenderer sees this same shape regardless of which location it renders for; an
implementation is free to populate whichever slots are relevant to it and ignore the rest.-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.HasComponentsdrawer()The desktop nav location, inside the drawer.com.vaadin.flow.component.HasComponentsThe shared drill-down location for nested routes, shown alongsidesideRail()ortouchBar()— or beneathtabStrip()'s own row underNavType.HEADER.com.vaadin.flow.component.HasComponentssideRail()The tablet nav location (both orientations, by default), the left-edge rail.com.vaadin.flow.component.HasComponentstabStrip()The header nav location (NavType.HEADERonly), a primary tab strip spanning the header alongside the brand and user content.com.vaadin.flow.component.HasComponentstouchBar()The phone nav location, the bottom bar.
-
Method Details
-
drawer
com.vaadin.flow.component.HasComponents drawer()The desktop nav location, inside the drawer. -
sideRail
com.vaadin.flow.component.HasComponents sideRail()The tablet nav location (both orientations, by default), the left-edge rail. -
touchBar
com.vaadin.flow.component.HasComponents touchBar()The phone nav location, the bottom bar. -
tabStrip
com.vaadin.flow.component.HasComponents tabStrip()The header nav location (NavType.HEADERonly), a primary tab strip spanning the header alongside the brand and user content.
-