| 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 --> | 9 --> |
| 10 <link rel="import" href="../polymer/polymer.html"> | 10 <link rel="import" href="../polymer/polymer.html"> |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 pattern$="[[pattern]]" | 83 pattern$="[[pattern]]" |
| 84 maxlength$="[[maxlength]]" | 84 maxlength$="[[maxlength]]" |
| 85 required$="[[required]]" | 85 required$="[[required]]" |
| 86 autocomplete$="[[autocomplete]]" | 86 autocomplete$="[[autocomplete]]" |
| 87 autofocus$="[[autofocus]]" | 87 autofocus$="[[autofocus]]" |
| 88 inputmode$="[[inputmode]]" | 88 inputmode$="[[inputmode]]" |
| 89 minlength$="[[minlength]]" | 89 minlength$="[[minlength]]" |
| 90 name$="[[name]]" | 90 name$="[[name]]" |
| 91 placeholder$="[[placeholder]]" | 91 placeholder$="[[placeholder]]" |
| 92 readonly$="[[readonly]]" | 92 readonly$="[[readonly]]" |
| 93 list$="[[list]]" |
| 93 size$="[[size]]"> | 94 size$="[[size]]"> |
| 94 | 95 |
| 95 <template is="dom-if" if="[[errorMessage]]"> | 96 <template is="dom-if" if="[[errorMessage]]"> |
| 96 <paper-input-error>[[errorMessage]]</paper-input-error> | 97 <paper-input-error>[[errorMessage]]</paper-input-error> |
| 97 </template> | 98 </template> |
| 98 | 99 |
| 99 <template is="dom-if" if="[[charCounter]]"> | 100 <template is="dom-if" if="[[charCounter]]"> |
| 100 <paper-input-char-counter></paper-input-char-counter> | 101 <paper-input-char-counter></paper-input-char-counter> |
| 101 </template> | 102 </template> |
| 102 | 103 |
| 103 </paper-input-container> | 104 </paper-input-container> |
| 104 | 105 |
| 105 </template> | 106 </template> |
| 106 | 107 |
| 107 </dom-module> | 108 </dom-module> |
| 108 | 109 |
| 109 <script> | 110 <script> |
| 110 | 111 |
| 111 (function() { | 112 (function() { |
| 112 | 113 |
| 113 Polymer({ | 114 Polymer({ |
| 114 | 115 |
| 115 is: 'paper-input', | 116 is: 'paper-input', |
| 116 | 117 |
| 117 behaviors: [ | 118 behaviors: [ |
| 118 Polymer.PaperInputBehavior, | 119 Polymer.PaperInputBehavior, |
| 119 Polymer.IronFormElementBehavior | 120 Polymer.IronControlState |
| 120 ] | 121 ] |
| 121 | 122 |
| 122 }) | 123 }) |
| 123 | 124 |
| 124 })(); | 125 })(); |
| 125 | 126 |
| 126 </script> | 127 </script> |
| OLD | NEW |