Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/ | 23-Nov-2023 | - | 34 | 14 | ||
demo/ | 23-Nov-2023 | - | 112 | 89 | ||
test/ | 23-Nov-2023 | - | 216 | 160 | ||
.bower.json | D | 23-Nov-2023 | 1.7 KiB | 48 | 48 | |
.gitignore | D | 23-Nov-2023 | 17 | 2 | 1 | |
.travis.yml | D | 23-Nov-2023 | 784 | 25 | 24 | |
CONTRIBUTING.md | D | 23-Nov-2023 | 3.4 KiB | 78 | 39 | |
README.md | D | 23-Nov-2023 | 1.2 KiB | 42 | 16 | |
bower.json | D | 23-Nov-2023 | 1.4 KiB | 40 | 39 | |
hero.svg | D | 23-Nov-2023 | 2.1 KiB | 34 | 32 | |
index.html | D | 23-Nov-2023 | 1,022 | 31 | 14 | |
iron-autogrow-textarea.html | D | 23-Nov-2023 | 9.6 KiB | 374 | 291 |
README.md
1 2<!--- 3 4This README is automatically generated from the comments in these files: 5iron-autogrow-textarea.html 6 7Edit those files, and our readme bot will duplicate them over here! 8Edit this file, and the bot will squash your changes :) 9 10The bot does some handling of markdown. Please file a bug if it does the wrong 11thing! https://github.com/PolymerLabs/tedium/issues 12 13--> 14 15[![Build status](https://travis-ci.org/PolymerElements/iron-autogrow-textarea.svg?branch=master)](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 23lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will 24never scroll. 25 26Example: 27 28```html 29<iron-autogrow-textarea></iron-autogrow-textarea> 30``` 31 32### Styling 33 34The following custom properties and mixins are available for styling: 35 36| Custom property | Description | Default | 37| --- | --- | --- | 38| `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}` | 39| `--iron-autogrow-textarea-placeholder` | Mixin applied to the textarea placeholder | `{}` | 40 41 42