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

Commit 8e1030c

Browse files
FluorescentHallucinogenabdonrd
authored andcommitted
Allow swipe open the drawer (#1045)
* Allow swipe open the drawer * Swipe open only when narrow layout
1 parent 17c02c4 commit 8e1030c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/my-app.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
data="{{routeData}}"
6666
tail="{{subroute}}"></app-route>
6767

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

0 commit comments

Comments
 (0)