Uses of Interface
com.vaadin.flow.router.HighlightCondition
Packages that use HighlightCondition
-
Uses of HighlightCondition in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return HighlightConditionModifier and TypeMethodDescriptionstatic <C extends HasElement>
HighlightCondition<C>HighlightConditions.always()Always highlight.RouterLink.getHighlightCondition()Gets theHighlightConditionof this link.static HighlightCondition<RouterLink>HighlightConditions.locationPrefix()Highlight if the navigation path starts with the targetRouterLinkpath.static <C extends HasElement>
HighlightCondition<C>HighlightConditions.locationPrefix(String prefix) Highlight if the navigation path starts withprefix.static <C extends HasElement>
HighlightCondition<C>HighlightConditions.never()Never highlight.static HighlightCondition<RouterLink>HighlightConditions.sameLocation()Highlight if the navigation path is the same as the targetRouterLink.Methods in com.vaadin.flow.router with parameters of type HighlightConditionModifier and TypeMethodDescriptionvoidRouterLink.setHighlightCondition(HighlightCondition<RouterLink> highlightCondition) Sets theHighlightConditionof this link, which determines if the link should be highlighted when aAfterNavigationEventoccurs.