How to Set Right Panel only for View Course Page


#1

Hi,

Thanks in advance.

I am trying to show right panel only for view course page. Like in my app I have courses list and few other pages too, so when my visitor click to view course then if they slide right then the right side menu should open. for rest of the pages, the right menu should not load.

Please help me to resolve this.


#2

you can create your panel just for one route :

app.panel.create(parameters)

and destroy it when you leave the page. or mask it with a display:none and change css when you open your good page. (the first solution allows you to refresh data, which can be useful)

http://framework7.io/docs/panel.html