You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to make the drawer respond a bit differently from what it does in the demo
We have the same menu buttons in the top menu & the left drawer panel.
We want this behaviour.
when desktop mode (responsiveWidth > 300px):
- hide hamburger, and hence the left drawerPanel
- show the top menu
when mobile mode (responsiveWidth < 300px):
- show hamburger, and hence on press the left drawerPanel
- hide the top menu
at the moment the only event i can tap into is:
addEventListener('paper-responsive-change', function(e)
This is after the event, but i really need to get access to the before event
I am wondering if someone can recommend an approach.
From @gedw99 on October 12, 2015 11:7
We are trying to make the drawer respond a bit differently from what it does in the demo
at the moment the only event i can tap into is:
addEventListener('paper-responsive-change', function(e)
This is after the event, but i really need to get access to the before event
I am wondering if someone can recommend an approach.
Copied from original issue: Polymer/polymer-starter-kit#432
The text was updated successfully, but these errors were encountered: