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