OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 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 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 @demo demo/index.html | 28 @demo demo/index.html |
29 --> | 29 --> |
30 | 30 |
31 <dom-module id="paper-material"> | 31 <dom-module id="paper-material"> |
32 <template> | 32 <template> |
33 <style include="paper-material-shared-styles"></style> | 33 <style include="paper-material-shared-styles"></style> |
34 <style> | 34 <style> |
35 :host([animated]) { | 35 :host([animated]) { |
36 @apply(--shadow-transition); | 36 @apply(--shadow-transition); |
37 } | 37 } |
| 38 :host { |
| 39 @apply(--paper-material); |
| 40 } |
38 </style> | 41 </style> |
39 | 42 |
40 <content></content> | 43 <content></content> |
41 </template> | 44 </template> |
42 </dom-module> | 45 </dom-module> |
43 <script> | 46 <script> |
44 Polymer({ | 47 Polymer({ |
45 is: 'paper-material', | 48 is: 'paper-material', |
46 | 49 |
47 properties: { | 50 properties: { |
(...skipping 21 matching lines...) Expand all Loading... |
69 * @default false | 72 * @default false |
70 */ | 73 */ |
71 animated: { | 74 animated: { |
72 type: Boolean, | 75 type: Boolean, |
73 reflectToAttribute: true, | 76 reflectToAttribute: true, |
74 value: false | 77 value: false |
75 } | 78 } |
76 } | 79 } |
77 }); | 80 }); |
78 </script> | 81 </script> |
OLD | NEW |