3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 --><html><head><link rel=
"import" href=
"../polymer/polymer.html">
10 <link rel=
"import" href=
"../iron-autogrow-textarea/iron-autogrow-textarea.html">
11 <link rel=
"import" href=
"paper-input-behavior.html">
12 <link rel=
"import" href=
"paper-input-container.html">
13 <link rel=
"import" href=
"paper-input-error.html">
14 <link rel=
"import" href=
"paper-input-char-counter.html">
17 `<paper-textarea>` is a multi-line text field with Material Design styling.
19 <paper-textarea label="Textarea label"></paper-textarea>
21 See `Polymer.PaperInputBehavior` for more API docs.
25 Currently only `required` and `maxlength` validation is supported.
29 See `Polymer.PaperInputContainer` for a list of custom properties used to
33 </head><body><dom-module id=
"paper-textarea">
36 <paper-input-container no-label-float$=
"[[noLabelFloat]]" always-float-label=
"[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$=
"[[autoValidate]]" disabled$=
"[[disabled]]" invalid=
"[[invalid]]">
38 <label hidden$=
"[[!label]]">[[label]]
</label>
40 <iron-autogrow-textarea id=
"input" class=
"paper-input-input" bind-value=
"{{value}}" autocomplete$=
"[[autocomplete]]" autofocus$=
"[[autofocus]]" inputmode$=
"[[inputmode]]" name$=
"[[name]]" placeholder$=
"[[placeholder]]" readonly$=
"[[readonly]]" required$=
"[[required]]" maxlength$=
"[[maxlength]]" autocapitalize$=
"[[autocapitalize]]"></iron-autogrow-textarea>
42 <template is=
"dom-if" if=
"[[errorMessage]]">
43 <paper-input-error>[[errorMessage]]
</paper-input-error>
46 <template is=
"dom-if" if=
"[[charCounter]]">
47 <paper-input-char-counter></paper-input-char-counter>
50 </paper-input-container>
56 <script src=
"paper-textarea-extracted.js"></script></body></html>