How to make the sidebar hidden as default?

Hi,
I’m working on my app a was wondering if I can set the sidebar to be hidden initially?
I’m looking for some “sidebar_toggle” or the like that I can set to False.

Best,
Jesper

Hi @Jelle,

You might be able to set it progmaticalty, I saw this haven’t attempted it myself but reads like it could work for youself

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

1 Like

Hi @carl , thanks for the link I’ll take a look at it

1 Like

Hi @Jelle

Welcome to the community.

In addition to the solution suggested by @carl, you could make a feature request for adding a sidebar_open_on_load (or similar) parameter to the Templates.

2 Likes