| Index: third_party/polymer/v1_0/components/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| diff --git a/third_party/polymer/v1_0/components/iron-autogrow-textarea/iron-autogrow-textarea.html b/third_party/polymer/v1_0/components/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| index 6a21146944b9800c606f7e5f8a159a4e061f625c..376177d8483d16830f0ad47361f6800df614cfdd 100644
|
| --- a/third_party/polymer/v1_0/components/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| +++ b/third_party/polymer/v1_0/components/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| @@ -73,7 +73,16 @@ this element's `bind-value` instead for imperative updates.
|
|
|
| <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff -->
|
| <div class="textarea-container fit">
|
| - <textarea id="textarea" required$="[[required]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea>
|
| + <textarea id="textarea"
|
| + autocomplete$="[[autocomplete]]"
|
| + autofocus$="[[autofocus]]"
|
| + inputmode$="[[inputmode]]"
|
| + name$="[[name]]"
|
| + placeholder$="[[placeholder]]"
|
| + readonly$="[[readonly]]"
|
| + required$="[[required]]"
|
| + rows$="[[rows]]"
|
| + maxlength$="[[maxlength]]"></textarea>
|
| </div>
|
| </template>
|
|
|
| @@ -125,6 +134,50 @@ this element's `bind-value` instead for imperative updates.
|
| },
|
|
|
| /**
|
| + * Bound to the textarea's `autocomplete` attribute.
|
| + */
|
| + autocomplete: {
|
| + type: String,
|
| + value: 'off'
|
| + },
|
| +
|
| + /**
|
| + * Bound to the textarea's `autofocus` attribute.
|
| + */
|
| + autofocus: {
|
| + type: String,
|
| + value: 'off'
|
| + },
|
| +
|
| + /**
|
| + * Bound to the textarea's `inputmode` attribute.
|
| + */
|
| + inputmode: {
|
| + type: String
|
| + },
|
| +
|
| + /**
|
| + * Bound to the textarea's `name` attribute.
|
| + */
|
| + name: {
|
| + type: String
|
| + },
|
| +
|
| + /**
|
| + * Bound to the textarea's `placeholder` attribute.
|
| + */
|
| + placeholder: {
|
| + type: String
|
| + },
|
| +
|
| + /**
|
| + * Bound to the textarea's `readonly` attribute.
|
| + */
|
| + readonly: {
|
| + type: String
|
| + },
|
| +
|
| + /**
|
| * Set to true to mark the textarea as required.
|
| */
|
| required: {
|
|
|