| OLD | NEW |
| 1 Polymer({ | 1 Polymer({ |
| 2 is: 'paper-textarea', | 2 is: 'paper-textarea', |
| 3 | 3 |
| 4 behaviors: [ | 4 behaviors: [ |
| 5 Polymer.PaperInputBehavior, | 5 Polymer.PaperInputBehavior, |
| 6 Polymer.IronFormElementBehavior | 6 Polymer.IronFormElementBehavior |
| 7 ], | 7 ], |
| 8 | 8 |
| 9 properties: { | 9 properties: { |
| 10 _ariaLabelledBy: { | 10 _ariaLabelledBy: { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 * @attribute maxRows | 36 * @attribute maxRows |
| 37 * @type number | 37 * @type number |
| 38 * @default 0 | 38 * @default 0 |
| 39 */ | 39 */ |
| 40 maxRows: { | 40 maxRows: { |
| 41 type: Number, | 41 type: Number, |
| 42 value: 0 | 42 value: 0 |
| 43 } | 43 } |
| 44 }, | 44 }, |
| 45 | 45 |
| 46 _ariaLabelledByChanged: function(ariaLabelledBy) { | 46 _ariaLabelledByChanged: function() { |
| 47 this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy); | 47 this.$.input.textarea.setAttribute('aria-label', this.label); |
| 48 }, | 48 }, |
| 49 | 49 |
| 50 _ariaDescribedByChanged: function(ariaDescribedBy) { | 50 _ariaDescribedByChanged: function(ariaDescribedBy) { |
| 51 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); | 51 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); |
| 52 }, | 52 }, |
| 53 | 53 |
| 54 get _focusableElement() { | 54 get _focusableElement() { |
| 55 return this.$.input.textarea; | 55 return this.$.input.textarea; |
| 56 }, | 56 }, |
| 57 }); | 57 }); |
| OLD | NEW |