Conditionally hiding the sidebar on specific pages/resources

Hi. Is it possible to conditionally collapse the sidebar on specific pages? I have a few pages where the main content is very dense, so I would like to have the extra screen real estate.
2 Replies
Jon Mason
Jon Mason3mo ago
did you ever figure this out?
Lara Zeus
Lara Zeus3mo ago
somewhere :), like a render hook maybe, you can toggle the storage value: isOpen Alpine.store('isOpen').toggle()