| OLD | NEW |
| 1 (function() { | 1 Polymer({ |
| 2 | |
| 3 Polymer({ | |
| 4 | |
| 5 is: 'paper-textarea', | 2 is: 'paper-textarea', |
| 6 | 3 |
| 7 behaviors: [ | 4 behaviors: [ |
| 8 Polymer.PaperInputBehavior | 5 Polymer.PaperInputBehavior |
| 9 ], | 6 ], |
| 10 | 7 |
| 11 properties: { | 8 properties: { |
| 12 | |
| 13 _ariaLabelledBy: { | 9 _ariaLabelledBy: { |
| 14 observer: '_ariaLabelledByChanged', | 10 observer: '_ariaLabelledByChanged', |
| 15 type: String | 11 type: String |
| 16 }, | 12 }, |
| 17 | 13 |
| 18 _ariaDescribedBy: { | 14 _ariaDescribedBy: { |
| 19 observer: '_ariaDescribedByChanged', | 15 observer: '_ariaDescribedByChanged', |
| 20 type: String | 16 type: String |
| 21 }, | 17 }, |
| 22 | 18 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 * The maximum number of rows this element can grow to until it | 32 * The maximum number of rows this element can grow to until it |
| 37 * scrolls. 0 means no maximum. | 33 * scrolls. 0 means no maximum. |
| 38 * | 34 * |
| 39 * @attribute maxRows | 35 * @attribute maxRows |
| 40 * @type number | 36 * @type number |
| 41 * @default 0 | 37 * @default 0 |
| 42 */ | 38 */ |
| 43 maxRows: { | 39 maxRows: { |
| 44 type: Number, | 40 type: Number, |
| 45 value: 0 | 41 value: 0 |
| 46 }, | 42 } |
| 47 | |
| 48 }, | 43 }, |
| 49 | 44 |
| 50 _ariaLabelledByChanged: function(ariaLabelledBy) { | 45 _ariaLabelledByChanged: function(ariaLabelledBy) { |
| 51 this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy); | 46 this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy); |
| 52 }, | 47 }, |
| 53 | 48 |
| 54 _ariaDescribedByChanged: function(ariaDescribedBy) { | 49 _ariaDescribedByChanged: function(ariaDescribedBy) { |
| 55 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); | 50 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); |
| 56 } | 51 } |
| 57 | 52 }); |
| 58 }); | |
| 59 | |
| 60 })(); | |
| OLD | NEW |