1 # iron-autogrow-textarea
3 `iron-autogrow-textarea` is an element containing a textarea that grows in height as more
4 lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will
9 <iron-autogrow-textarea id="a1">
10 <textarea id="t1"></textarea>
11 </iron-autogrow-textarea>
13 Because the `textarea`'s `value` property is not observable, you should use
14 this element's `bind-value` instead for imperative updates. Alternatively, if
15 you do set the `textarea`'s `value` imperatively, you must also call `update`
16 to notify this element the value has changed.
19 /* preferred, using the example HTML above*/
20 a1.bindValue = 'some\ntext';
23 t1.value = 'some\ntext';