Closed ThibzThibz closed 7 years ago
You can set responsiveWidth to be very large to force in narrow mode. togglePanel
and closeDrawer
should work, sounds like you were not calling the method on core-scaffold element. Also if you want to have more customizations I would suggest to use the core-drawer-panel and core-header-panel to build your own app layout, like this:
http://jsbin.com/ceqawoxize/1/edit
There's a undocumented hidden
property.
Polymer({
ready: function(){
my_drawer.hidden = true;
}
});
I'd like to have a core-scaffold with the core-drawer-panel closed by default, and manage the state (open/close) of this drawer with the menuButton, regardless the responsiveWidth. When trying to use togglePanel and closeDrawer methods ... get undefined error. Thanks for help