| OLD | NEW |
| 1 | 1 Polymer({ |
| 2 | 2 |
| 3 Polymer({ | |
| 4 | |
| 5 is: 'iron-autogrow-textarea', | 3 is: 'iron-autogrow-textarea', |
| 6 | 4 |
| 7 behaviors: [ | 5 behaviors: [ |
| 8 Polymer.IronFormElementBehavior, | 6 Polymer.IronFormElementBehavior, |
| 9 Polymer.IronValidatableBehavior, | 7 Polymer.IronValidatableBehavior, |
| 10 Polymer.IronControlState | 8 Polymer.IronControlState |
| 11 ], | 9 ], |
| 12 | 10 |
| 13 properties: { | 11 properties: { |
| 14 | 12 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 */ | 50 */ |
| 53 autocomplete: { | 51 autocomplete: { |
| 54 type: String, | 52 type: String, |
| 55 value: 'off' | 53 value: 'off' |
| 56 }, | 54 }, |
| 57 | 55 |
| 58 /** | 56 /** |
| 59 * Bound to the textarea's `autofocus` attribute. | 57 * Bound to the textarea's `autofocus` attribute. |
| 60 */ | 58 */ |
| 61 autofocus: { | 59 autofocus: { |
| 62 type: String, | 60 type: Boolean, |
| 63 value: 'off' | 61 value: false |
| 64 }, | 62 }, |
| 65 | 63 |
| 66 /** | 64 /** |
| 67 * Bound to the textarea's `inputmode` attribute. | 65 * Bound to the textarea's `inputmode` attribute. |
| 68 */ | 66 */ |
| 69 inputmode: { | 67 inputmode: { |
| 70 type: String | 68 type: String |
| 71 }, | 69 }, |
| 72 | 70 |
| 73 /** | 71 /** |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 return this._constrain(this.tokens); | 202 return this._constrain(this.tokens); |
| 205 }, | 203 }, |
| 206 | 204 |
| 207 _updateCached: function() { | 205 _updateCached: function() { |
| 208 this.$.mirror.innerHTML = this._constrain(this.tokens); | 206 this.$.mirror.innerHTML = this._constrain(this.tokens); |
| 209 }, | 207 }, |
| 210 | 208 |
| 211 _computeValue: function() { | 209 _computeValue: function() { |
| 212 return this.bindValue; | 210 return this.bindValue; |
| 213 } | 211 } |
| 214 }) | 212 }); |
| OLD | NEW |