Collapse sidebar manually

How do I collapse the sidebar in my template by calling a method?

I want the sidebar to automatically collapse when a user does something. But I can’t find anything that will do this call.

Hi @Feynboy,

This post might help https://discourse.holoviz.org/t/programatically-dynamically-hiding-template-sidebar/1605/2