Names the classes in force.
Lets a component state which classes apply, rather than assembling the class attribute string that says so.
class
The candidate class names, each against the state deciding whether it is in force
The names whose state holds, separated by spaces, or undefined if none does, so that the value is assigned to a class attribute without leaving an empty one behind
undefined
Names the classes in force.
Lets a component state which classes apply, rather than assembling the
classattribute string that says so.