className.add
className.add.call(el, cls)
Add a class name to a DOM node if it is not already there.
var className = require("can-util/dom/class-name/class-name");
className.add.call(el, "container");
Parameters
- className
{String}
:A string representing a single class name token
Returns
{void}
: