Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js |
index 6acae9908bc32b878aa14f97a502545390563aeb..b397c7706370804883e47a71db6cbab6f57e2776 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js |
+++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js |
@@ -1,6 +1,4 @@ |
- |
- |
- /** |
+/** |
* Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-container>`. This |
* behavior is implemented by `<paper-input>`. It exposes a number of properties from |
* `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your |
@@ -98,14 +96,6 @@ |
}, |
/** |
- * The maximum length of the input value. Bind this to the `<input is="iron-input">`'s |
- * `maxlength` property. |
- */ |
- maxlength: { |
- type: Number |
- }, |
- |
- /** |
* The error message to display when the input is invalid. Bind this to the |
* `<paper-input-error>`'s content, if using. |
*/ |
@@ -188,6 +178,39 @@ |
}, |
/** |
+ * The maximum length of the input value. Bind this to the `<input is="iron-input">`'s |
+ * `maxlength` property. |
+ */ |
+ maxlength: { |
+ type: Number |
+ }, |
+ |
+ /** |
+ * The minimum (numeric or date-time) input value. |
+ * Bind this to the `<input is="iron-input">`'s `min` property. |
+ */ |
+ min: { |
+ type: String |
+ }, |
+ |
+ /** |
+ * The maximum (numeric or date-time) input value. |
+ * Can be a String (e.g. `"2000-1-1"`) or a Number (e.g. `2`). |
+ * Bind this to the `<input is="iron-input">`'s `max` property. |
+ */ |
+ max: { |
+ type: String |
+ }, |
+ |
+ /** |
+ * Limits the numeric or date-time increments. |
+ * Bind this to the `<input is="iron-input">`'s `step` property. |
+ */ |
+ step: { |
+ type: String |
+ }, |
+ |
+ /** |
* Bind this to the `<input is="iron-input">`'s `name` property. |
*/ |
name: { |
@@ -352,5 +375,4 @@ |
}; |
/** @polymerBehavior */ |
- Polymer.PaperInputBehavior = [Polymer.IronControlState, Polymer.PaperInputBehaviorImpl]; |
- |
+ Polymer.PaperInputBehavior = [Polymer.IronControlState, Polymer.PaperInputBehaviorImpl]; |