Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/README.md

Issue 1766433002: Roll Polymer to 1.3.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 <!--- 2 <!---
3 3
4 This README is automatically generated from the comments in these files: 4 This README is automatically generated from the comments in these files:
5 iron-autogrow-textarea.html 5 iron-autogrow-textarea.html
6 6
7 Edit those files, and our readme bot will duplicate them over here! 7 Edit those files, and our readme bot will duplicate them over here!
8 Edit this file, and the bot will squash your changes :) 8 Edit this file, and the bot will squash your changes :)
9 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
10 --> 13 -->
11 14
12 [![Build Status](https://travis-ci.org/PolymerElements/iron-autogrow-textarea.sv g?branch=master)](https://travis-ci.org/PolymerElements/iron-autogrow-textarea) 15 [![Build status](https://travis-ci.org/PolymerElements/iron-autogrow-textarea.sv g?branch=master)](https://travis-ci.org/PolymerElements/iron-autogrow-textarea)
13 16
14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-autogrow -textarea)_ 17 _[Demo and API docs](https://elements.polymer-project.org/elements/iron-autogrow -textarea)_
15 18
16 19
17 ##&lt;iron-autogrow-textarea&gt; 20 ##&lt;iron-autogrow-textarea&gt;
18 21
19
20 `iron-autogrow-textarea` is an element containing a textarea that grows in heigh t as more 22 `iron-autogrow-textarea` is an element containing a textarea that grows in heigh t as more
21 lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will 23 lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will
22 never scroll. 24 never scroll.
23 25
24 Example: 26 Example:
25 27
26 <iron-autogrow-textarea></iron-autogrow-textarea> 28 ```html
29 <iron-autogrow-textarea></iron-autogrow-textarea>
30 ```
27 31
28 Because the `textarea`'s `value` property is not observable, you should use 32 Because the `textarea`'s `value` property is not observable, you should use
29 this element's `bind-value` instead for imperative updates. 33 this element's `bind-value` instead for imperative updates.
30 34
31 ### Styling 35 ### Styling
32 36
33 The following custom properties and mixins are available for styling: 37 The following custom properties and mixins are available for styling:
34 38
35 Custom property | Description | Default 39 | Custom property | Description | Default |
36 ----------------|-------------|---------- 40 | --- | --- | --- |
37 `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}` 41 | `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}` |
42 | `--iron-autogrow-textarea-placeholder` | Mixin applied to the textarea placeho lder | `{}` |
38 43
39 44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698