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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 /** | 85 /** |
86 * The type of the input. The supported types are `text`, `number` and `pa
ssword`. Bind this | 86 * The type of the input. The supported types are `text`, `number` and `pa
ssword`. Bind this |
87 * to the `<input is="iron-input">`'s `type` property. | 87 * to the `<input is="iron-input">`'s `type` property. |
88 */ | 88 */ |
89 type: { | 89 type: { |
90 type: String | 90 type: String |
91 }, | 91 }, |
92 | 92 |
93 /** | 93 /** |
94 * The datalist of the input (if any). This should match the id of an exis
ting <datalist>. Bind this | 94 * The datalist of the input (if any). This should match the id of an exis
ting `<datalist>`. Bind this |
95 * to the `<input is="iron-input">`'s `list` property. | 95 * to the `<input is="iron-input">`'s `list` property. |
96 */ | 96 */ |
97 list: { | 97 list: { |
98 type: String | 98 type: String |
99 }, | 99 }, |
100 | 100 |
101 /** | 101 /** |
102 * A pattern to validate the `input` with. Bind this to the `<input is="ir
on-input">`'s | 102 * A pattern to validate the `input` with. Bind this to the `<input is="ir
on-input">`'s |
103 * `pattern` property. | 103 * `pattern` property. |
104 */ | 104 */ |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 }, | 272 }, |
273 | 273 |
274 /** | 274 /** |
275 * Bind this to the `<input is="iron-input">`'s `autocorrect` property. | 275 * Bind this to the `<input is="iron-input">`'s `autocorrect` property. |
276 */ | 276 */ |
277 autocorrect: { | 277 autocorrect: { |
278 type: String, | 278 type: String, |
279 value: 'off' | 279 value: 'off' |
280 }, | 280 }, |
281 | 281 |
| 282 /** |
| 283 * Bind this to the `<input is="iron-input">`'s `autosave` property, used
with type=search. |
| 284 */ |
| 285 autosave: { |
| 286 type: String |
| 287 }, |
| 288 |
| 289 /** |
| 290 * Bind this to the `<input is="iron-input">`'s `results` property, , used
with type=search. |
| 291 */ |
| 292 results: { |
| 293 type: Number |
| 294 }, |
| 295 |
| 296 /** |
| 297 * Bind this to the `<input is="iron-input">`'s `accept` property, , used
with type=file. |
| 298 */ |
| 299 accept: { |
| 300 type: String |
| 301 }, |
| 302 |
| 303 /** |
| 304 * Bind this to the `<input is="iron-input">`'s `multiple` property, , use
d with type=file. |
| 305 */ |
| 306 multiple: { |
| 307 type: Boolean |
| 308 }, |
| 309 |
282 _ariaDescribedBy: { | 310 _ariaDescribedBy: { |
283 type: String, | 311 type: String, |
284 value: '' | 312 value: '' |
285 } | 313 } |
286 | 314 |
287 }, | 315 }, |
288 | 316 |
289 listeners: { | 317 listeners: { |
290 'addon-attached': '_onAddonAttached' | 318 'addon-attached': '_onAddonAttached' |
291 }, | 319 }, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 }); | 442 }); |
415 } | 443 } |
416 } | 444 } |
417 | 445 |
418 }; | 446 }; |
419 | 447 |
420 /** @polymerBehavior */ | 448 /** @polymerBehavior */ |
421 Polymer.PaperInputBehavior = [Polymer.IronControlState, Polymer.PaperInputBeha
viorImpl]; | 449 Polymer.PaperInputBehavior = [Polymer.IronControlState, Polymer.PaperInputBeha
viorImpl]; |
422 | 450 |
423 </script> | 451 </script> |
OLD | NEW |