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

Side by Side Diff: third_party/polymer/components/paper-input/paper-textarea.html

Issue 3010683002: Update Polymer components. (Closed)
Patch Set: Rebase Created 3 years, 3 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 @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 --> 9 -->
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 </style> 50 </style>
51 51
52 <paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label ="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[ autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> 52 <paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label ="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[ autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]">
53 53
54 <label hidden$="[[!label]]" aria-hidden="true">[[label]]</label> 54 <label hidden$="[[!label]]" aria-hidden="true">[[label]]</label>
55 55
56 <iron-autogrow-textarea id="input" class="paper-input-input" 56 <iron-autogrow-textarea id="input" class="paper-input-input"
57 bind-value="{{value}}" 57 bind-value="{{value}}"
58 invalid="{{invalid}}" 58 invalid="{{invalid}}"
59 validator$="[[validator]]"
59 disabled$="[[disabled]]" 60 disabled$="[[disabled]]"
60 autocomplete$="[[autocomplete]]" 61 autocomplete$="[[autocomplete]]"
61 autofocus$="[[autofocus]]" 62 autofocus$="[[autofocus]]"
62 inputmode$="[[inputmode]]" 63 inputmode$="[[inputmode]]"
63 name$="[[name]]" 64 name$="[[name]]"
64 placeholder$="[[placeholder]]" 65 placeholder$="[[placeholder]]"
65 readonly$="[[readonly]]" 66 readonly$="[[readonly]]"
66 required$="[[required]]" 67 required$="[[required]]"
67 minlength$="[[minlength]]" 68 minlength$="[[minlength]]"
68 maxlength$="[[maxlength]]" 69 maxlength$="[[maxlength]]"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 136
136 _ariaDescribedByChanged: function(ariaDescribedBy) { 137 _ariaDescribedByChanged: function(ariaDescribedBy) {
137 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy); 138 this.$.input.textarea.setAttribute('aria-describedby', ariaDescribedBy);
138 }, 139 },
139 140
140 get _focusableElement() { 141 get _focusableElement() {
141 return this.$.input.textarea; 142 return this.$.input.textarea;
142 }, 143 },
143 }); 144 });
144 </script> 145 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698