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
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
drawer reacting to responsive width
Making the left paperDrawerPanel reacting to responsive width
Oct 12, 2015
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.
The text was updated successfully, but these errors were encountered: