Sese Schneider Sese Schneider - 10 months ago 57
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 ;)


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.