Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
.bower.json | 06-Dec-2016 | 1.7K | |
.gitignore | 06-Dec-2016 | 17 | |
.travis.yml | 06-Dec-2016 | 839 | |
bower.json | 06-Dec-2016 | 1.4K | |
CONTRIBUTING.md | 06-Dec-2016 | 3.4K | |
demo/ | 06-Dec-2016 | ||
hero.svg | 06-Dec-2016 | 2.1K | |
index.html | 06-Dec-2016 | 1,022 | |
iron-autogrow-textarea.html | 06-Dec-2016 | 8.9K | |
README.md | 06-Dec-2016 | 1.4K | |
test/ | 06-Dec-2016 |
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 The bot does some handling of markdown. Please file a bug if it does the wrong 11 thing! https://github.com/PolymerLabs/tedium/issues 12 13 --> 14 15 [](https://travis-ci.org/PolymerElements/iron-autogrow-textarea) 16 17 _[Demo and API docs](https://elements.polymer-project.org/elements/iron-autogrow-textarea)_ 18 19 20 ##<iron-autogrow-textarea> 21 22 `iron-autogrow-textarea` is an element containing a textarea that grows in height as more 23 lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will 24 never scroll. 25 26 Example: 27 28 ```html 29 <iron-autogrow-textarea></iron-autogrow-textarea> 30 ``` 31 32 Because the `textarea`'s `value` property is not observable, you should use 33 this element's `bind-value` instead for imperative updates. 34 35 ### Styling 36 37 The following custom properties and mixins are available for styling: 38 39 | Custom property | Description | Default | 40 | --- | --- | --- | 41 | `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}` | 42 | `--iron-autogrow-textarea-placeholder` | Mixin applied to the textarea placeholder | `{}` | 43 44 45