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

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

Issue 1468623004: Update Polymer from 1.2.1 -> 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@travis-yml
Patch Set: local-state.html Created 5 years 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 --><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-behaviors/iron-control-state.html"> 10 <link rel="import" href="../iron-behaviors/iron-control-state.html">
11 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> 11 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
12 <link rel="import" href="../iron-validatable-behavior/iron-validatable-behavior. html"> 12 <link rel="import" href="../iron-validatable-behavior/iron-validatable-behavior. html">
13 <link rel="import" href="../iron-form-element-behavior/iron-form-element-behavio r.html"> 13 <link rel="import" href="../iron-form-element-behavior/iron-form-element-behavio r.html">
14 14
15 <!-- 15 <!--
16 `iron-autogrow-textarea` is an element containing a textarea that grows in heigh t as more 16 `iron-autogrow-textarea` is an element containing a textarea that grows in heigh t as more
17 lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will 17 lines of input are entered. Unless an explicit height or the `maxRows` property is set, it will
18 never scroll. 18 never scroll.
19 19
20 Example: 20 Example:
21 21
22 <iron-autogrow-textarea></iron-autogrow-textarea> 22 <iron-autogrow-textarea></iron-autogrow-textarea>
23 23
24 Because the `textarea`'s `value` property is not observable, you should use 24 Because the `textarea`'s `value` property is not observable, you should use
25 this element's `bind-value` instead for imperative updates. 25 this element's `bind-value` instead for imperative updates.
26 26
27 ### Styling 27 ### Styling
28
28 The following custom properties and mixins are available for styling: 29 The following custom properties and mixins are available for styling:
30
29 Custom property | Description | Default 31 Custom property | Description | Default
30 ----------------|-------------|---------- 32 ----------------|-------------|----------
31 `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}` 33 `--iron-autogrow-textarea` | Mixin applied to the textarea | `{}`
32 34
33 @group Iron Elements 35 @group Iron Elements
34 @hero hero.svg 36 @hero hero.svg
35 @demo demo/index.html 37 @demo demo/index.html
36 --> 38 -->
37 39
38 </head><body><dom-module id="iron-autogrow-textarea"> 40 </head><body><dom-module id="iron-autogrow-textarea">
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 <div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div> 87 <div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div>
86 88
87 <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --> 89 <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff -->
88 <div class="textarea-container fit"> 90 <div class="textarea-container fit">
89 <textarea id="textarea" autocomplete$="[[autocomplete]]" autofocus$="[[aut ofocus]]" inputmode$="[[inputmode]]" placeholder$="[[placeholder]]" readonly$="[ [readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea> 91 <textarea id="textarea" autocomplete$="[[autocomplete]]" autofocus$="[[aut ofocus]]" inputmode$="[[inputmode]]" placeholder$="[[placeholder]]" readonly$="[ [readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea>
90 </div> 92 </div>
91 </template> 93 </template>
92 </dom-module> 94 </dom-module>
93 95
94 <script src="iron-autogrow-textarea-extracted.js"></script></body></html> 96 <script src="iron-autogrow-textarea-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698