class-method
flagrate.Element.addClassName
flagrate.Element.addClassName(element, className) → Boolean
element
(Element
) – instance of Element.className
(String
) – The class name to add.
This method is similar to http://api.prototypejs.org/dom/Element/addClassName/