| 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 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 hostAttributes: { | 23 hostAttributes: { |
| 24 'add-on': '' | 24 'add-on': '' |
| 25 }, | 25 }, |
| 26 | 26 |
| 27 attached: function() { | 27 attached: function() { |
| 28 this.fire('addon-attached'); | 28 this.fire('addon-attached'); |
| 29 }, | 29 }, |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * The function called by `<paper-input-container>` when the input value or
validity changes. | 32 * The function called by `<paper-input-container>` when the input value or
validity changes. |
| 33 * @param {Object} state All properties are optional. | 33 * @param {{ |
| 34 * @param {Node} state.inputElement The input element. | 34 * inputElement: (Node|undefined), |
| 35 * @param {String} state.value The input value. | 35 * value: (string|undefined), |
| 36 * @param {Boolean} state.invalid True if the input value is invalid. | 36 * invalid: (boolean|undefined) |
| 37 * }} state All properties are optional - |
| 38 * inputElement: The input element. |
| 39 * value: The input value. |
| 40 * invalid: True if the input value is invalid. |
| 37 */ | 41 */ |
| 38 update: function(state) { | 42 update: function(state) { |
| 39 } | 43 } |
| 40 | 44 |
| 41 }; | 45 }; |
| 42 | 46 |
| 43 </script> | 47 </script> |
| OLD | NEW |