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

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

Issue 2346073003: [Polymer] updating (Closed)
Patch Set: Created 4 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 // Generate unique, monotonically increasing IDs for labels (needed by 1 // Generate unique, monotonically increasing IDs for labels (needed by
2 // aria-labelledby) and add-ons. 2 // aria-labelledby) and add-ons.
3 Polymer.PaperInputHelper = {}; 3 Polymer.PaperInputHelper = {};
4 Polymer.PaperInputHelper.NextLabelID = 1; 4 Polymer.PaperInputHelper.NextLabelID = 1;
5 Polymer.PaperInputHelper.NextAddonID = 1; 5 Polymer.PaperInputHelper.NextAddonID = 1;
6 6
7 /** 7 /**
8 * Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-con tainer>`. This 8 * Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-con tainer>`. This
9 * behavior is implemented by `<paper-input>`. It exposes a number of properti es from 9 * behavior is implemented by `<paper-input>`. It exposes a number of properti es from
10 * `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your 10 * `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 * The minimum (numeric or date-time) input value. 230 * The minimum (numeric or date-time) input value.
231 * If you're using PaperInputBehavior to implement your own paper-input-li ke 231 * If you're using PaperInputBehavior to implement your own paper-input-li ke
232 * element, bind this to the `<input is="iron-input">`'s `min` property. 232 * element, bind this to the `<input is="iron-input">`'s `min` property.
233 */ 233 */
234 min: { 234 min: {
235 type: String 235 type: String
236 }, 236 },
237 237
238 /** 238 /**
239 * The maximum (numeric or date-time) input value. 239 * The maximum (numeric or date-time) input value.
240 * Can be a String (e.g. `"2000-1-1"`) or a Number (e.g. `2`). 240 * Can be a String (e.g. `"2000-01-01"`) or a Number (e.g. `2`).
241 * If you're using PaperInputBehavior to implement your own paper-input-li ke 241 * If you're using PaperInputBehavior to implement your own paper-input-li ke
242 * element, bind this to the `<input is="iron-input">`'s `max` property. 242 * element, bind this to the `<input is="iron-input">`'s `max` property.
243 */ 243 */
244 max: { 244 max: {
245 type: String 245 type: String
246 }, 246 },
247 247
248 /** 248 /**
249 * Limits the numeric or date-time increments. 249 * Limits the numeric or date-time increments.
250 * If you're using PaperInputBehavior to implement your own paper-input-li ke 250 * If you're using PaperInputBehavior to implement your own paper-input-li ke
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 } 543 }
544 } 544 }
545 } 545 }
546 546
547 /** @polymerBehavior */ 547 /** @polymerBehavior */
548 Polymer.PaperInputBehavior = [ 548 Polymer.PaperInputBehavior = [
549 Polymer.IronControlState, 549 Polymer.IronControlState,
550 Polymer.IronA11yKeysBehavior, 550 Polymer.IronA11yKeysBehavior,
551 Polymer.PaperInputBehaviorImpl 551 Polymer.PaperInputBehaviorImpl
552 ]; 552 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698