Uses of Interface
com.vaadin.flow.router.HighlightCondition
-
Packages that use HighlightCondition Package Description com.vaadin.flow.router -
-
Uses of HighlightCondition in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return HighlightCondition Modifier and Type Method Description static <C extends HasElement>
HighlightCondition<C>HighlightConditions. always()Always highlight.HighlightCondition<RouterLink>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 HighlightCondition Modifier and Type Method Description voidRouterLink. setHighlightCondition(HighlightCondition<RouterLink> highlightCondition)Sets theHighlightConditionof this link, which determines if the link should be highlighted when aAfterNavigationEventoccurs.
-