OLD | NEW |
1 # iron-autogrow-textarea | 1 |
| 2 <!--- |
| 3 |
| 4 This README is automatically generated from the comments in these files: |
| 5 iron-autogrow-textarea.html |
| 6 |
| 7 Edit those files, and our readme bot will duplicate them over here! |
| 8 Edit this file, and the bot will squash your changes :) |
| 9 |
| 10 --> |
| 11 |
| 12 [](https://travis-ci.org/PolymerElements/iron-autogrow-textarea) |
| 13 |
| 14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-autogrow
-textarea)_ |
| 15 |
| 16 |
| 17 ##<iron-autogrow-textarea> |
| 18 |
2 | 19 |
3 `iron-autogrow-textarea` is an element containing a textarea that grows in heigh
t as more | 20 `iron-autogrow-textarea` is an element containing a textarea that grows in heigh
t as more |
4 lines of input are entered. Unless an explicit height or the `maxRows` property
is set, it will | 21 lines of input are entered. Unless an explicit height or the `maxRows` property
is set, it will |
5 never scroll. | 22 never scroll. |
6 | 23 |
7 Example: | 24 Example: |
8 | 25 |
9 <iron-autogrow-textarea></iron-autogrow-textarea> | 26 <iron-autogrow-textarea></iron-autogrow-textarea> |
10 | 27 |
11 Because the `textarea`'s `value` property is not observable, you should use | 28 Because the `textarea`'s `value` property is not observable, you should use |
12 this element's `bind-value` instead for imperative updates. | 29 this element's `bind-value` instead for imperative updates. |
| 30 |
| 31 ### Styling |
| 32 |
| 33 The following custom properties and mixins are available for styling: |
| 34 |
| 35 Custom property | Description | Default |
| 36 ----------------|-------------|---------- |
| 37 `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}` |
| 38 |
| 39 |
OLD | NEW |