Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Allow swipe open the drawer (#1045)
Browse files Browse the repository at this point in the history
* Allow swipe open the drawer

* Swipe open only when narrow layout
  • Loading branch information
FluorescentHallucinogen authored and abdonrd committed Jul 24, 2017
1 parent 17c02c4 commit 8e1030c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/my-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
data="{{routeData}}"
tail="{{subroute}}"></app-route>

<app-drawer-layout fullbleed>
<app-drawer-layout fullbleed narrow="{{narrow}}">
<!-- Drawer content -->
<app-drawer id="drawer">
<app-drawer id="drawer" swipe-open="[[narrow]]">
<app-toolbar>Menu</app-toolbar>
<iron-selector selected="[[page]]" attr-for-selected="name" class="drawer-list" role="navigation">
<a name="view1" href="[[rootPath]]view1">View One</a>
Expand Down

0 comments on commit 8e1030c

Please sign in to comment.