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 --> | 8 --> |
9 | 9 |
| 10 <link rel="import" href="../../polymer/polymer.html"> |
10 <link rel="import" href="../iron-control-state.html"> | 11 <link rel="import" href="../iron-control-state.html"> |
11 <link rel="import" href="../iron-button-state.html"> | 12 <link rel="import" href="../iron-button-state.html"> |
12 | 13 |
13 <script> | 14 <script> |
14 | 15 |
15 Polymer({ | 16 Polymer({ |
16 | 17 |
17 is: 'test-control', | 18 is: 'test-control', |
18 | 19 |
19 behaviors: [ | 20 behaviors: [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 58 |
58 is: 'nested-focusable', | 59 is: 'nested-focusable', |
59 | 60 |
60 behaviors: [ | 61 behaviors: [ |
61 Polymer.IronControlState | 62 Polymer.IronControlState |
62 ] | 63 ] |
63 | 64 |
64 }); | 65 }); |
65 | 66 |
66 </script> | 67 </script> |
| 68 |
| 69 <dom-module id="test-light-dom"> |
| 70 |
| 71 <template> |
| 72 <content select="*"></content> |
| 73 </template> |
| 74 |
| 75 </dom-module> |
| 76 |
| 77 <script> |
| 78 |
| 79 Polymer({ |
| 80 |
| 81 is: 'test-light-dom', |
| 82 |
| 83 behaviors: [ |
| 84 Polymer.IronControlState, |
| 85 Polymer.IronButtonState |
| 86 ] |
| 87 |
| 88 }); |
| 89 |
| 90 </script> |
OLD | NEW |