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 size$="[[size]]"> | 93 list$="[[list]]" |
| 94 size$="[[size]]" |
| 95 autocapitalize$="[[autocapitalize]]" |
| 96 autocorrect$="[[autocorrect]]"> |
94 | 97 |
95 <template is="dom-if" if="[[errorMessage]]"> | 98 <template is="dom-if" if="[[errorMessage]]"> |
96 <paper-input-error>[[errorMessage]]</paper-input-error> | 99 <paper-input-error>[[errorMessage]]</paper-input-error> |
97 </template> | 100 </template> |
98 | 101 |
99 <template is="dom-if" if="[[charCounter]]"> | 102 <template is="dom-if" if="[[charCounter]]"> |
100 <paper-input-char-counter></paper-input-char-counter> | 103 <paper-input-char-counter></paper-input-char-counter> |
101 </template> | 104 </template> |
102 | 105 |
103 </paper-input-container> | 106 </paper-input-container> |
104 | 107 |
105 </template> | 108 </template> |
106 | 109 |
107 </dom-module> | 110 </dom-module> |
108 | 111 |
109 <script> | 112 <script> |
110 | 113 |
111 (function() { | 114 (function() { |
112 | 115 |
113 Polymer({ | 116 Polymer({ |
114 | 117 |
115 is: 'paper-input', | 118 is: 'paper-input', |
116 | 119 |
117 behaviors: [ | 120 behaviors: [ |
| 121 Polymer.IronFormElementBehavior, |
118 Polymer.PaperInputBehavior, | 122 Polymer.PaperInputBehavior, |
119 Polymer.IronFormElementBehavior | 123 Polymer.IronControlState |
120 ] | 124 ] |
121 | 125 |
122 }) | 126 }) |
123 | 127 |
124 })(); | 128 })(); |
125 | 129 |
126 </script> | 130 </script> |
OLD | NEW |