| 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-form-element-behavior/iron-form-element-behavio
r.html"> |
| 10 <link rel="import" href="../iron-input/iron-input.html"> | 11 <link rel="import" href="../iron-input/iron-input.html"> |
| 11 <link rel="import" href="../iron-form-element-behavior/iron-form-element-behavio
r.html"> | |
| 12 <link rel="import" href="paper-input-behavior.html"> | 12 <link rel="import" href="paper-input-behavior.html"> |
| 13 <link rel="import" href="paper-input-char-counter.html"> |
| 13 <link rel="import" href="paper-input-container.html"> | 14 <link rel="import" href="paper-input-container.html"> |
| 14 <link rel="import" href="paper-input-error.html"> | 15 <link rel="import" href="paper-input-error.html"> |
| 15 <link rel="import" href="paper-input-char-counter.html"> | |
| 16 | 16 |
| 17 <!-- | 17 <!-- |
| 18 Material design: [Text fields](https://www.google.com/design/spec/components/tex
t-fields.html) | 18 Material design: [Text fields](https://www.google.com/design/spec/components/tex
t-fields.html) |
| 19 | 19 |
| 20 `<paper-input>` is a single-line text field with Material Design styling. | 20 `<paper-input>` is a single-line text field with Material Design styling. |
| 21 | 21 |
| 22 <paper-input label="Input label"></paper-input> | 22 <paper-input label="Input label"></paper-input> |
| 23 | 23 |
| 24 It may include an optional error message or character counter. | 24 It may include an optional error message or character counter. |
| 25 | 25 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 <template is="dom-if" if="[[charCounter]]"> | 100 <template is="dom-if" if="[[charCounter]]"> |
| 101 <paper-input-char-counter></paper-input-char-counter> | 101 <paper-input-char-counter></paper-input-char-counter> |
| 102 </template> | 102 </template> |
| 103 | 103 |
| 104 </paper-input-container> | 104 </paper-input-container> |
| 105 | 105 |
| 106 </template> | 106 </template> |
| 107 </dom-module> | 107 </dom-module> |
| 108 | 108 |
| 109 <script src="paper-input-extracted.js"></script></body></html> | 109 <script src="paper-input-extracted.js"></script></body></html> |
| OLD | NEW |