Sese Schneider Sese Schneider - 1 year ago 106
Javascript Question

How to add a side-navigation in polymer

I want to add a side navigation like this to my side:

There should be a menu button and a sidenav opens:

enter image description here

But i cant find this method in
. The only possibility is the
but this is opend all the time...

My working paper-drawer-panel example:

Does anybody has an idea how to do this with polymer or maybe with

Thanks in advance ;)

Answer Source

Try setting the forceNarrow attribute to true.

Below is the documentation from the paper-drawer-panel api docs:



default: false

If true, ignore responsiveWidth setting and force the narrow layout.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download