OLD | NEW |
(Empty) | |
| 1 <!-- |
| 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 |
| 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 |
| 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 |
| 8 --> |
| 9 |
| 10 <link rel="import" href="../iron-selector.html"> |
| 11 |
| 12 <dom-module id="test-content-element"> |
| 13 |
| 14 <template> |
| 15 |
| 16 <iron-selector id="selector" selected="{{selected}}" selectable="[[selectabl
e]]" attr-for-selected="id"> |
| 17 <content></content> |
| 18 </iron-selector> |
| 19 |
| 20 </template> |
| 21 |
| 22 </dom-module> |
| 23 |
| 24 <script> |
| 25 |
| 26 Polymer({ |
| 27 |
| 28 is: 'test-content-element', |
| 29 |
| 30 properties: { |
| 31 |
| 32 selectable: String, |
| 33 |
| 34 selected: { |
| 35 type: String, |
| 36 notify: true |
| 37 } |
| 38 |
| 39 } |
| 40 |
| 41 }); |
| 42 |
| 43 </script> |
OLD | NEW |