JavaScript module

The disclosure button is implemented by the GSDisclosureButton() module.

class GSDisclosureButton()
init()

Apply the disclosure-button to all the HTML with the appropriate markup

show_all()

Show the contents of all the disclosure widgets.

hide_all()

Hide the contents of all the disclosure widgets.

toggle_all()

Show the contents of all the hidden disclosure widgets, and hide the contents of all the shown disclosure widgets. (The click event is sent to all the disclosure widgets.)