Flagrate API documentation

Home ▲
class-method

flagrate.Element.toggle

flagrate.Element.toggle(element) → Element

Toggles the visibility of element. Returns element.

This method is similar to http://api.prototypejs.org/dom/Element/toggle/