We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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 the
HighlightCondition
of this link.static HighlightCondition<RouterLink>
HighlightConditions.locationPrefix()
Highlight if the navigation path starts with the target
RouterLink
path.static <C extends HasElement>
HighlightCondition<C>HighlightConditions.locationPrefix
(String prefix) Highlight if the navigation path starts with
prefix
.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 target
RouterLink
.Methods in com.vaadin.flow.router with parameters of type HighlightConditionModifier and TypeMethodDescriptionvoid
RouterLink.setHighlightCondition
(HighlightCondition<RouterLink> highlightCondition) Sets the
HighlightCondition
of this link, which determines if the link should be highlighted when aAfterNavigationEvent
occurs.