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-control-state.html"> |
| 11 <link rel="import" href="../iron-button-state.html"> |
| 12 |
| 13 <script> |
| 14 |
| 15 Polymer({ |
| 16 |
| 17 is: 'test-control', |
| 18 |
| 19 behaviors: [ |
| 20 Polymer.IronControlState |
| 21 ] |
| 22 |
| 23 }); |
| 24 |
| 25 </script> |
| 26 |
| 27 <script> |
| 28 |
| 29 Polymer({ |
| 30 |
| 31 is: 'test-button', |
| 32 |
| 33 behaviors: [ |
| 34 Polymer.IronControlState, |
| 35 Polymer.IronButtonState |
| 36 ], |
| 37 |
| 38 _buttonStateChanged: function() { |
| 39 |
| 40 } |
| 41 |
| 42 }); |
| 43 |
| 44 </script> |
OLD | NEW |