Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js |
index ec175c243f78e29c3fea0fed57f32020ded8b68e..1fc578cf4c89dfde52f700347b2bd7b1318ff0c5 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js |
+++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea-extracted.js |
@@ -1,5 +1,3 @@ |
- |
- |
(function() { |
Polymer({ |
@@ -20,7 +18,32 @@ |
_ariaDescribedBy: { |
observer: '_ariaDescribedByChanged', |
type: String |
- } |
+ }, |
+ |
+ /** |
+ * The initial number of rows. |
+ * |
+ * @attribute rows |
+ * @type number |
+ * @default 1 |
+ */ |
+ rows: { |
+ type: Number, |
+ value: 1 |
+ }, |
+ |
+ /** |
+ * The maximum number of rows this element can grow to until it |
+ * scrolls. 0 means no maximum. |
+ * |
+ * @attribute maxRows |
+ * @type number |
+ * @default 0 |
+ */ |
+ maxRows: { |
+ type: Number, |
+ value: 0 |
+ }, |
}, |
@@ -34,5 +57,4 @@ |
}); |
-})(); |
- |
+})(); |