w2layout.toggle

Toggles the panel.
toggle(type, [immediate])
type string, name of the panel
immediate boolean, without animation (optional)

Description

If the panel is hidden the toggle() method will call w2layout.show() method, if hidden - w2layout.hide(). Below is an example how to toggle a panel:

User Comments

comments powered by Disqus