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

Allow swipe open the drawer #1045

Merged
merged 2 commits into from
Jul 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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