dynamic togglePanel( )

Toggles the panel open and closed.

Source

/// Toggles the panel open and closed.
togglePanel() =>
    jsElement.callMethod('togglePanel', []);