Package | Description |
---|---|
com.vaadin.flow.router |
Modifier and Type | Method and Description |
---|---|
HighlightAction<RouterLink> |
RouterLink.getHighlightAction()
Gets the
HighlightAction of this link. |
static <C extends HasElement> |
HighlightActions.none()
An action which does nothing, regardless of the highlight state.
|
static <C extends HasElement> |
HighlightActions.toggleAttribute(String attribute)
An action which toggles the target's
attribute based on its
highlight state. |
static <C extends HasStyle> |
HighlightActions.toggleClassName(String className)
An action which toggles
className class on the target based on
its highlight state. |
static <C extends HasElement> |
HighlightActions.toggleTheme(String theme)
An action which toggles
theme on the target based on its
highlight state. |
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 . |
Copyright © 2025. All rights reserved.