ApplicationImpl cleanup, part 1:
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-input / paper-textarea-extracted.js
blobec175c243f78e29c3fea0fed57f32020ded8b68e
3 (function() {
5   Polymer({
7     is: 'paper-textarea',
9     behaviors: [
10       Polymer.PaperInputBehavior
11     ],
13     properties: {
15       _ariaLabelledBy: {
16         observer: '_ariaLabelledByChanged',
17         type: String
18       },
20       _ariaDescribedBy: {
21         observer: '_ariaDescribedByChanged',
22         type: String
23       }
25     },
27     _ariaLabelledByChanged: function(ariaLabelledBy) {
28       this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy);
29     },
31     _ariaDescribedByChanged: function(ariaDescribedBy) {
32       this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy);
33     }
35   });
37 })();