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 ], | 7 ], |
7 | 8 |
8 properties: { | 9 properties: { |
9 _ariaLabelledBy: { | 10 _ariaLabelledBy: { |
10 observer: '_ariaLabelledByChanged', | 11 observer: '_ariaLabelledByChanged', |
11 type: String | 12 type: String |
12 }, | 13 }, |
13 | 14 |
14 _ariaDescribedBy: { | 15 _ariaDescribedBy: { |
15 observer: '_ariaDescribedByChanged', | 16 observer: '_ariaDescribedByChanged', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 }, | 48 }, |
48 | 49 |
49 _ariaDescribedByChanged: function(ariaDescribedBy) { | 50 _ariaDescribedByChanged: function(ariaDescribedBy) { |
50 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); | 51 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); |
51 }, | 52 }, |
52 | 53 |
53 get _focusableElement() { | 54 get _focusableElement() { |
54 return this.$.input.textarea; | 55 return this.$.input.textarea; |
55 }, | 56 }, |
56 }); | 57 }); |
OLD | NEW |