Interface ElementClassListMethods<E extends Element, B extends TypedBuilder<E,B> >
- All Superinterfaces:
IsElement<E>, TypedBuilder<E,B>
- All Known Implementing Classes:
HTMLContainerBuilder, HTMLElementBuilder, HTMLInputElementBuilder, HTMLSelectElementBuilder, HTMLTextAreaElementBuilder, Link, MathMLContainerMethods, MathMLElementBuilder, SVGContainerBuilder, SVGElementBuilder
public interface ElementClassListMethods<E extends Element, B extends TypedBuilder<E,B>>
extends TypedBuilder<E,B>, IsElement<E>
Provides methods and default implementations for modifying the class list of an element.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Bdefault BAdds the specified CSS classes to the class list of the element.default BToggle the class value; i.e., if the class exists, then remove it, if not, then add it.default BAdds (force=true) or removes (force=false) the specified CSS class to the class list of the element.default BAdds (force=true) or removes (force=false) the specified CSS class to the class list of the element.Methods inherited from interface TypedBuilder
that
-
Method Details
-
css
-
toggle
-
toggle
-
toggle
-
classList
-
classList
-