dynamic toggle()

Toggle the opened state of the overlay.

Source

toggle() =>
    jsElement.callMethod('toggle', []);