Opener

Opener[x]
represents an opener with setting x, displayed as when x is True and when x is False.

Opener[Dynamic[x]]
takes the setting to be the dynamically updated current value of x, with the value of x being toggled if the opener is clicked.

Details and OptionsDetails and Options

Introduced in 2007
(6.0)