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

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

Issue 1336623003: [MD settings] updating polymer to 1.1.13 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed Polymer.IronCheckedElementBehavior name Created 5 years, 3 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 (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
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 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698