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 theHighlightCondition
of this link.static HighlightCondition<RouterLink>
HighlightConditions.locationPrefix()
Highlight if the navigation path starts with the targetRouterLink
path.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 TypeMethodDescriptionvoid
RouterLink.setHighlightCondition
(HighlightCondition<RouterLink> highlightCondition) Sets theHighlightCondition
of this link, which determines if the link should be highlighted when aAfterNavigationEvent
occurs.