class-method
flagrate.Element.toggle
flagrate.Element.toggle(element) → Element
element
(Element
) – instance of Element.
Toggles the visibility of element
. Returns element
.
This method is similar to http://api.prototypejs.org/dom/Element/toggle/