SelectionClassed extension

on

Methods

classedIs(String classes) bool

Available on Selection, provided by the SelectionClassed extension

Returns true if and only if the first (non-null) selected element has the specified classes.
classedSet(String names, Union2<EachCallback<bool>, bool> value) Selection

Available on Selection, provided by the SelectionClassed extension

Assigns or unassigns the specified CSS class names on the selected elements by setting the class attribute or modifying the classList property and returns this selection.