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