public final class HighlightActions extends Object
HighlightActions.| Modifier and Type | Method and Description |
|---|---|
static <C extends HasElement> |
none()
An action which does nothing, regardless of the highlight state.
|
static <C extends HasElement> |
toggleAttribute(String attribute)
An action which toggles the target's
attribute based on its
highlight state. |
static <C extends HasStyle> |
toggleClassName(String className)
An action which toggles
className class on the target based on
its highlight state. |
static <C extends HasElement> |
toggleTheme(String theme)
An action which toggles
theme on the target based on its
highlight state. |
public static <C extends HasStyle> HighlightAction<C> toggleClassName(String className)
className class on the target based on
its highlight state.C - the target typeclassName - the class name to togglepublic static <C extends HasElement> HighlightAction<C> toggleTheme(String theme)
theme on the target based on its
highlight state.C - the target typetheme - the theme to togglepublic static <C extends HasElement> HighlightAction<C> toggleAttribute(String attribute)
attribute based on its
highlight state.C - the target typeattribute - the attribute to togglepublic static <C extends HasElement> HighlightAction<C> none()
C - the target typeCopyright © 2025. All rights reserved.