Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 2
3 (function() { 3 (function() {
4 4
5 Polymer({ 5 Polymer({
6 6
7 is: 'paper-textarea', 7 is: 'paper-textarea',
8 8
9 behaviors: [ 9 behaviors: [
10 Polymer.PaperInputBehavior, 10 Polymer.PaperInputBehavior
11 Polymer.IronFormElementBehavior
12 ], 11 ],
13 12
14 properties: { 13 properties: {
15 14
16 _ariaLabelledBy: { 15 _ariaLabelledBy: {
17 observer: '_ariaLabelledByChanged', 16 observer: '_ariaLabelledByChanged',
18 type: String 17 type: String
19 }, 18 },
20 19
21 _ariaDescribedBy: { 20 _ariaDescribedBy: {
22 observer: '_ariaDescribedByChanged', 21 observer: '_ariaDescribedByChanged',
23 type: String 22 type: String
24 } 23 }
25 24
26 }, 25 },
27 26
28 _ariaLabelledByChanged: function(ariaLabelledBy) { 27 _ariaLabelledByChanged: function(ariaLabelledBy) {
29 this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy); 28 this.$.input.textarea.setAttribute('aria-labelledby', ariaLabelledBy);
30 }, 29 },
31 30
32 _ariaDescribedByChanged: function(ariaDescribedBy) { 31 _ariaDescribedByChanged: function(ariaDescribedBy) {
33 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); 32 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy);
34 } 33 }
35 34
36 }); 35 });
37 36
38 })(); 37 })();
39 38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698