| OLD | NEW |
| 1 |
| 2 |
| 1 /* | 3 /* |
| 2 `<iron-input>` adds two-way binding and custom validators using `Polymer.IronVal
idatorBehavior` | 4 `<iron-input>` adds two-way binding and custom validators using `Polymer.IronVal
idatorBehavior` |
| 3 to `<input>`. | 5 to `<input>`. |
| 4 | 6 |
| 5 ### Two-way binding | 7 ### Two-way binding |
| 6 | 8 |
| 7 By default you can only get notified of changes to an `input`'s `value` due to u
ser input: | 9 By default you can only get notified of changes to an `input`'s `value` due to u
ser input: |
| 8 | 10 |
| 9 <input value="{{myValue::input}}"> | 11 <input value="{{myValue::input}}"> |
| 10 | 12 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 } | 221 } |
| 220 this.fire('iron-input-validate'); | 222 this.fire('iron-input-validate'); |
| 221 return valid; | 223 return valid; |
| 222 } | 224 } |
| 223 | 225 |
| 224 }); | 226 }); |
| 225 | 227 |
| 226 /* | 228 /* |
| 227 The `iron-input-validate` event is fired whenever `validate()` is called. | 229 The `iron-input-validate` event is fired whenever `validate()` is called. |
| 228 @event iron-input-validate | 230 @event iron-input-validate |
| 229 */ | 231 */ |
| 232 |
| OLD | NEW |