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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 Polymer({
2 2
3 Polymer({
4
5 is: 'iron-autogrow-textarea', 3 is: 'iron-autogrow-textarea',
6 4
7 behaviors: [ 5 behaviors: [
8 Polymer.IronFormElementBehavior, 6 Polymer.IronFormElementBehavior,
9 Polymer.IronValidatableBehavior, 7 Polymer.IronValidatableBehavior,
10 Polymer.IronControlState 8 Polymer.IronControlState
11 ], 9 ],
12 10
13 properties: { 11 properties: {
14 12
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 */ 50 */
53 autocomplete: { 51 autocomplete: {
54 type: String, 52 type: String,
55 value: 'off' 53 value: 'off'
56 }, 54 },
57 55
58 /** 56 /**
59 * Bound to the textarea's `autofocus` attribute. 57 * Bound to the textarea's `autofocus` attribute.
60 */ 58 */
61 autofocus: { 59 autofocus: {
62 type: String, 60 type: Boolean,
63 value: 'off' 61 value: false
64 }, 62 },
65 63
66 /** 64 /**
67 * Bound to the textarea's `inputmode` attribute. 65 * Bound to the textarea's `inputmode` attribute.
68 */ 66 */
69 inputmode: { 67 inputmode: {
70 type: String 68 type: String
71 }, 69 },
72 70
73 /** 71 /**
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 return this._constrain(this.tokens); 202 return this._constrain(this.tokens);
205 }, 203 },
206 204
207 _updateCached: function() { 205 _updateCached: function() {
208 this.$.mirror.innerHTML = this._constrain(this.tokens); 206 this.$.mirror.innerHTML = this._constrain(this.tokens);
209 }, 207 },
210 208
211 _computeValue: function() { 209 _computeValue: function() {
212 return this.bindValue; 210 return this.bindValue;
213 } 211 }
214 }) 212 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698