android13/external/chromium-trace/catapult/third_party/polymer/components/iron-autogrow-textarea
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
.github initial 2024-06-22 20:45:49 +08:00
demo initial 2024-06-22 20:45:49 +08:00
test initial 2024-06-22 20:45:49 +08:00
.bower.json initial 2024-06-22 20:45:49 +08:00
.travis.yml initial 2024-06-22 20:45:49 +08:00
CONTRIBUTING.md initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
bower.json initial 2024-06-22 20:45:49 +08:00
hero.svg initial 2024-06-22 20:45:49 +08:00
index.html initial 2024-06-22 20:45:49 +08:00
iron-autogrow-textarea.html initial 2024-06-22 20:45:49 +08:00

README.md

Build status

Demo and API docs

##<iron-autogrow-textarea>

iron-autogrow-textarea is an element containing a textarea that grows in height as more lines of input are entered. Unless an explicit height or the maxRows property is set, it will never scroll.

Example:

<iron-autogrow-textarea></iron-autogrow-textarea>

Styling

The following custom properties and mixins are available for styling:

Custom property Description Default
--iron-autogrow-textarea Mixin applied to the textarea {}
--iron-autogrow-textarea-placeholder Mixin applied to the textarea placeholder {}