PolymerElements / paper-drawer-panel

A Material Design two-section responsive panel
https://www.webcomponents.org/element/PolymerElements/paper-drawer-panel
25 stars 42 forks source link

drawer-toggle-attribute is not working #185

Open yyamoryk-google opened 5 years ago

yyamoryk-google commented 5 years ago

Description

drawerToggleAttribute is not initialized in Polymer 2+. The default value of the property is not available and Polymer requires property to be declared in the properties collection of the component, so that it's value can be set as an attribute.

Expected outcome

The drawer can be opened by tapping on the element with the attribute name same as drawerToggleAttribute's value

Actual outcome

drawer doesn't open onTap