Dynamically add breakpoints for panels?


#1

Basically in my web app there are a few pages where I do not want the panels, start, login, onboarding… the rest of the app needs them.

leftBreakpoint: 768,
rightBreakpoint: 1440,

Is it possible to set after initialisation? I have not managed to do this but maybe there is a trick to this? Thanks!


#2

You can try it like app.params.panel.leftBreakpoint = 768


#3

Correct will be the following to enable breakpoints:

app.params.panel.leftBreakpoint = 768;
app.params.panel.rightBreakpoint = 1024;
app.panel.left.initBreakpoints();
app.panel.right.initBreakpoints();