| OLD | NEW |
| 1 Polymer({ | 1 Polymer({ |
| 2 is: 'paper-input-error', | 2 is: 'paper-input-error', |
| 3 | 3 |
| 4 behaviors: [ | 4 behaviors: [ |
| 5 Polymer.PaperInputAddonBehavior | 5 Polymer.PaperInputAddonBehavior |
| 6 ], | 6 ], |
| 7 | 7 |
| 8 properties: { | 8 properties: { |
| 9 /** | 9 /** |
| 10 * True if the error is showing. | 10 * True if the error is showing. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * value: (string|undefined), | 23 * value: (string|undefined), |
| 24 * invalid: boolean | 24 * invalid: boolean |
| 25 * }} state - | 25 * }} state - |
| 26 * inputElement: The input element. | 26 * inputElement: The input element. |
| 27 * value: The input value. | 27 * value: The input value. |
| 28 * invalid: True if the input value is invalid. | 28 * invalid: True if the input value is invalid. |
| 29 */ | 29 */ |
| 30 update: function(state) { | 30 update: function(state) { |
| 31 this._setInvalid(state.invalid); | 31 this._setInvalid(state.invalid); |
| 32 } | 32 } |
| 33 }); | 33 }); |
| OLD | NEW |