• Home
Name Date Size #Lines LOC

..--

demo/03-May-2024-11289

test/03-May-2024-216160

.bower.jsonD03-May-20241.7 KiB4848

.gitignoreD03-May-202417 21

.travis.ymlD03-May-2024839 2625

CONTRIBUTING.mdD03-May-20243.4 KiB7839

README.mdD03-May-20241.4 KiB4518

bower.jsonD03-May-20241.4 KiB4039

hero.svgD03-May-20242.1 KiB3432

index.htmlD03-May-20241,022 3114

iron-autogrow-textarea.htmlD03-May-20248.9 KiB354273

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##&lt;iron-autogrow-textarea&gt;
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
32Because the `textarea`'s `value` property is not observable, you should use
33this element's `bind-value` instead for imperative updates.
34
35### Styling
36
37The 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