In case of visible (not collapsed) layerswitcher how can I have a toggle button that hides the layerswitcher and then shows it again?
An example:
https://raw.githack.com/walkermatt/ol-layerswitcher/master/examples/activation-mode-click.html
Many thanks