How to create a side panel that can be called from any page with Phonon Framework?

325 views Asked by At

I'm using Phonon to make a hybrid app. It's my first time using this framework.

I am looking at the documentation for side panels and I see an attribute called data-page, which sets what page can call that panel.

If I want a global panel, which can be called from any page, what value do I set on it? I've tried just removing this attribute, but it made the panel to stop working on all pages. Do I need to repeat the same piece of code multiple times? (really?)

1

There are 1 answers

1
athom On BEST ANSWER

My response is late, but it can help. The recent versions of Phonon support this feature now. You can pass multiple pages with the attribute data-page. For example: data-page="page1, page2"

Documentation for side panels