| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
| 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 8 --><html><head><link rel="import" href="../polymer/polymer.html"> | 8 --><html><head><link rel="import" href="../polymer/polymer.html"> |
| 9 <link rel="import" href="../iron-media-query/iron-media-query.html"> | 9 <link rel="import" href="../iron-media-query/iron-media-query.html"> |
| 10 <link rel="import" href="../iron-selector/iron-selector.html"> | 10 <link rel="import" href="../iron-selector/iron-selector.html"> |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 iron-selector:not(.narrow-layout) #main ::content [paper-drawer-toggle] { | 226 iron-selector:not(.narrow-layout) #main ::content [paper-drawer-toggle] { |
| 227 display: none; | 227 display: none; |
| 228 } | 228 } |
| 229 </style> | 229 </style> |
| 230 | 230 |
| 231 <template> | 231 <template> |
| 232 <iron-media-query on-query-matches-changed="onQueryMatchesChanged" query="[[
_computeMediaQuery(forceNarrow, responsiveWidth)]]"> | 232 <iron-media-query on-query-matches-changed="onQueryMatchesChanged" query="[[
_computeMediaQuery(forceNarrow, responsiveWidth)]]"> |
| 233 </iron-media-query> | 233 </iron-media-query> |
| 234 | 234 |
| 235 <iron-selector attr-for-selected="id" class$="[[_computeIronSelectorClass(na
rrow, transition, dragging, rightDrawer)]]" on-iron-activate="onSelect" selected
="[[selected]]"> | 235 <iron-selector attr-for-selected="id" class$="[[_computeIronSelectorClass(na
rrow, transition, dragging, rightDrawer)]]" activate-event="" selected="[[select
ed]]"> |
| 236 | 236 |
| 237 <div id="main" style$="[[_computeMainStyle(narrow, rightDrawer, drawerWidt
h)]]"> | 237 <div id="main" style$="[[_computeMainStyle(narrow, rightDrawer, drawerWidt
h)]]"> |
| 238 <content select="[main]"></content> | 238 <content select="[main]"></content> |
| 239 <div id="scrim"></div> | 239 <div id="scrim" on-tap="closeDrawer"></div> |
| 240 <div id="edgeSwipeOverlay" hidden$="[[_computeSwipeOverlayHidden(narrow,
disableEdgeSwipe)]]"> | 240 <div id="edgeSwipeOverlay" hidden$="[[_computeSwipeOverlayHidden(narrow,
disableEdgeSwipe)]]"> |
| 241 </div> | 241 </div> |
| 242 </div> | 242 </div> |
| 243 | 243 |
| 244 <div id="drawer" style$="[[_computeDrawerStyle(drawerWidth)]]"> | 244 <div id="drawer" style$="[[_computeDrawerStyle(drawerWidth)]]"> |
| 245 <content select="[drawer]"></content> | 245 <content select="[drawer]"></content> |
| 246 </div> | 246 </div> |
| 247 | 247 |
| 248 </iron-selector> | 248 </iron-selector> |
| 249 </template> | 249 </template> |
| 250 | 250 |
| 251 </dom-module> | 251 </dom-module> |
| 252 | 252 |
| 253 <script src="paper-drawer-panel-extracted.js"></script></body></html> | 253 <script src="paper-drawer-panel-extracted.js"></script></body></html> |
| OLD | NEW |