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 <link rel="import" href="../iron-resizable-behavior.html"> | 10 <link rel="import" href="../iron-resizable-behavior.html"> |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 <script> | 135 <script> |
136 | 136 |
137 Polymer({ | 137 Polymer({ |
138 | 138 |
139 is: 'test-element' | 139 is: 'test-element' |
140 | 140 |
141 }); | 141 }); |
142 | 142 |
143 </script> | 143 </script> |
144 <script> | 144 <script> |
| 145 /** @polymerBehavior */ |
145 Polymer.ObserveIronResizeBehavior = { | 146 Polymer.ObserveIronResizeBehavior = { |
146 properties: { | 147 properties: { |
147 ironResizeCount: { | 148 ironResizeCount: { |
148 type: Number, | 149 type: Number, |
149 value: 0 | 150 value: 0 |
150 } | 151 } |
151 }, | 152 }, |
152 | 153 |
153 listeners: { | 154 listeners: { |
154 'iron-resize': '_incrementIronResizeCount' | 155 'iron-resize': '_incrementIronResizeCount' |
(...skipping 29 matching lines...) Expand all Loading... |
184 <script> | 185 <script> |
185 Polymer({ | 186 Polymer({ |
186 is: 'x-light-resizable', | 187 is: 'x-light-resizable', |
187 | 188 |
188 behaviors: [ | 189 behaviors: [ |
189 Polymer.IronResizableBehavior, | 190 Polymer.IronResizableBehavior, |
190 Polymer.ObserveIronResizeBehavior | 191 Polymer.ObserveIronResizeBehavior |
191 ] | 192 ] |
192 }); | 193 }); |
193 </script> | 194 </script> |
OLD | NEW |