Adds or removes the given css class(es), depending on the value enabled. If enabled is true, this function ensures that the classes are present. If enabled is false, it ensures that the class is not present.
enabled
a dom node
a series of css classes
whether to add or remove the classes
Adds or removes the given css class(es), depending on the value
enabled
. Ifenabled
is true, this function ensures that the classes are present. Ifenabled
is false, it ensures that the class is not present.