Package | Description |
---|---|
com.vaadin.flow.router |
Modifier and Type | Method and Description |
---|---|
HighlightAction<RouterLink> |
RouterLink.getHighlightAction()
Gets the
HighlightAction of this link. |
HighlightCondition<RouterLink> |
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 HighlightCondition<RouterLink> |
HighlightConditions.sameLocation()
Highlight if the navigation path is the same as the target
RouterLink . |
Modifier and Type | Method and Description |
---|---|
void |
RouterLink.setHighlightAction(HighlightAction<RouterLink> highlightAction)
Sets the
HighlightAction of this link, which will be performed
with the evaluation of this link's HighlightCondition . |
void |
RouterLink.setHighlightCondition(HighlightCondition<RouterLink> highlightCondition)
Sets the
HighlightCondition of this link, which determines if the
link should be highlighted when a AfterNavigationEvent occurs. |
Copyright © 2025. All rights reserved.