| 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-flex-layout/iron-flex-layout.html"> | 10 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> |
| 11 <link rel="import" href="../paper-styles/default-theme.html"> | 11 <link rel="import" href="../paper-styles/default-theme.html"> |
| 12 <link rel="import" href="../paper-styles/typography.html"> | 12 <link rel="import" href="../paper-styles/typography.html"> |
| 13 | 13 |
| 14 <!-- | 14 <!-- |
| 15 `<paper-input-container>` is a container for a `<label>`, an `<input is="iron-in
put">` or | 15 `<paper-input-container>` is a container for a `<label>`, an `<input is="iron-in
put">` or |
| 16 `<iron-autogrow-textarea>` and optional add-on elements such as an error message
or character | 16 `<textarea>` and optional add-on elements such as an error message or character |
| 17 counter, used to implement Material Design text fields. | 17 counter, used to implement Material Design text fields. |
| 18 | 18 |
| 19 For example: | 19 For example: |
| 20 | 20 |
| 21 <paper-input-container> | 21 <paper-input-container> |
| 22 <label>Your name</label> | 22 <label>Your name</label> |
| 23 <input is="iron-input"> | 23 <input is="iron-input"> |
| 24 </paper-input-container> | 24 </paper-input-container> |
| 25 | 25 |
| 26 Do not wrap `<paper-input-container>` around elements that already include it, s
uch as `<paper-input>`. | 26 Do not wrap `<paper-input-container>` around elements that already include it, s
uch as `<paper-input>`. |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 <div class="focused-line"></div> | 330 <div class="focused-line"></div> |
| 331 </div> | 331 </div> |
| 332 | 332 |
| 333 <div class$="[[_computeAddOnContentClass(focused,invalid)]]"> | 333 <div class$="[[_computeAddOnContentClass(focused,invalid)]]"> |
| 334 <content id="addOnContent" select="[add-on]"></content> | 334 <content id="addOnContent" select="[add-on]"></content> |
| 335 </div> | 335 </div> |
| 336 </template> | 336 </template> |
| 337 </dom-module> | 337 </dom-module> |
| 338 | 338 |
| 339 <script src="paper-input-container-extracted.js"></script></body></html> | 339 <script src="paper-input-container-extracted.js"></script></body></html> |
| OLD | NEW |