| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 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.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.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/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 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/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --><html><head><link rel="import" href="../polymer/polymer.html"> | 9 --><html><head><link rel="import" href="../polymer/polymer.html"> |
| 10 <link rel="import" href="../iron-autogrow-textarea/iron-autogrow-textarea.html"> | 10 <link rel="import" href="../iron-autogrow-textarea/iron-autogrow-textarea.html"> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 style this element. | 30 style this element. |
| 31 --> | 31 --> |
| 32 | 32 |
| 33 </head><body><dom-module id="paper-textarea"> | 33 </head><body><dom-module id="paper-textarea"> |
| 34 <template> | 34 <template> |
| 35 | 35 |
| 36 <paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label
="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[
autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> | 36 <paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label
="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[
autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> |
| 37 | 37 |
| 38 <label hidden$="[[!label]]">[[label]]</label> | 38 <label hidden$="[[!label]]">[[label]]</label> |
| 39 | 39 |
| 40 <iron-autogrow-textarea id="input" class="paper-input-input" bind-value="{
{value}}" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$
="[[inputmode]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[re
adonly]]" required$="[[required]]" maxlength$="[[maxlength]]" autocapitalize$="[
[autocapitalize]]"></iron-autogrow-textarea> | 40 <iron-autogrow-textarea id="input" class="paper-input-input" bind-value="{
{value}}" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$
="[[inputmode]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[re
adonly]]" required$="[[required]]" maxlength$="[[maxlength]]" autocapitalize$="[
[autocapitalize]]" rows$="[[rows]]" max-rows$="[[maxRows]]"></iron-autogrow-text
area> |
| 41 | 41 |
| 42 <template is="dom-if" if="[[errorMessage]]"> | 42 <template is="dom-if" if="[[errorMessage]]"> |
| 43 <paper-input-error>[[errorMessage]]</paper-input-error> | 43 <paper-input-error>[[errorMessage]]</paper-input-error> |
| 44 </template> | 44 </template> |
| 45 | 45 |
| 46 <template is="dom-if" if="[[charCounter]]"> | 46 <template is="dom-if" if="[[charCounter]]"> |
| 47 <paper-input-char-counter></paper-input-char-counter> | 47 <paper-input-char-counter></paper-input-char-counter> |
| 48 </template> | 48 </template> |
| 49 | 49 |
| 50 </paper-input-container> | 50 </paper-input-container> |
| 51 | 51 |
| 52 </template> | 52 </template> |
| 53 | 53 |
| 54 </dom-module> | 54 </dom-module> |
| 55 | 55 |
| 56 <script src="paper-textarea-extracted.js"></script></body></html> | 56 <script src="paper-textarea-extracted.js"></script></body></html> |
| OLD | NEW |