OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 @license |
| 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://polym
er.github.io/LICENSE.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/CO
NTRIBUTORS.txt |
| 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/P
ATENTS.txt |
| 9 --> |
| 10 |
| 11 <link rel="import" href="../polymer/polymer.html"> |
| 12 <link rel="import" href="../paper-styles/paper-styles.html"> |
| 13 |
| 14 <!-- |
| 15 `paper-item` is a non-interactive list item. |
| 16 |
| 17 @element paper-item |
| 18 --> |
| 19 |
| 20 <dom-module id="paper-item"> |
| 21 |
| 22 <link rel="import" type="css" href="paper-item-shared.css"> |
| 23 |
| 24 <style> |
| 25 |
| 26 :host { |
| 27 mixin(--layout-horizontal); |
| 28 mixin(--layout-center); |
| 29 mixin(--paper-font-subhead); |
| 30 |
| 31 mixin(--paper-item); |
| 32 } |
| 33 |
| 34 </style> |
| 35 |
| 36 <template> |
| 37 <content></content> |
| 38 </template> |
| 39 |
| 40 </dom-module> |
| 41 |
| 42 <script> |
| 43 |
| 44 (function() { |
| 45 |
| 46 Polymer({ |
| 47 |
| 48 is: 'paper-item', |
| 49 |
| 50 enableCustomStyleProperties: true, |
| 51 |
| 52 hostAttributes: { |
| 53 role: 'listitem' |
| 54 } |
| 55 |
| 56 }); |
| 57 |
| 58 })(); |
| 59 |
| 60 </script> |
OLD | NEW |