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< value) → Selectionbool> , bool> -
Available on Selection, provided by the SelectionClassed extension
Assigns or unassigns the specified CSS class names on the selected elements by setting theclass
attribute or modifying theclassList
property and returns this selection.