OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 <html> | 10 <html> |
11 <head> | 11 <head> |
12 <title>core-toolbar</title> | 12 <title>core-toolbar</title> |
13 | 13 |
14 <script src="../platform/platform.js"></script> | 14 <script src="../webcomponentsjs/webcomponents.js"></script> |
15 | 15 |
16 <link rel="import" href="core-toolbar.html"> | 16 <link rel="import" href="core-toolbar.html"> |
17 <link rel="import" href="../core-icon-button/core-icon-button.html"> | 17 <link rel="import" href="../core-icon-button/core-icon-button.html"> |
18 <link rel="import" href="../core-media-query/core-media-query.html"> | 18 <link rel="import" href="../core-media-query/core-media-query.html"> |
19 | 19 |
20 <style shim-shadowdom> | 20 <style shim-shadowdom> |
21 | 21 |
22 body { | 22 body { |
23 font-family: sans-serif; | 23 font-family: sans-serif; |
24 } | 24 } |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 document.querySelector('#mediaQuery').addEventListener('core-media-change', | 111 document.querySelector('#mediaQuery').addEventListener('core-media-change', |
112 function(e) { | 112 function(e) { |
113 document.body.classList.toggle('core-narrow', e.detail.matches); | 113 document.body.classList.toggle('core-narrow', e.detail.matches); |
114 }); | 114 }); |
115 | 115 |
116 </script> | 116 </script> |
117 | 117 |
118 </body> | 118 </body> |
119 </html> | 119 </html> |
OLD | NEW |