| Index: third_party/polymer/v0_8/components/iron-input/README.md
|
| diff --git a/third_party/polymer/v0_8/components/iron-input/README.md b/third_party/polymer/v0_8/components/iron-input/README.md
|
| index 3ff15aca84f9dcbb877108b270befeeaaedb9cb8..05a74b721248306a7850dbb636181e369c7f814e 100644
|
| --- a/third_party/polymer/v0_8/components/iron-input/README.md
|
| +++ b/third_party/polymer/v0_8/components/iron-input/README.md
|
| @@ -1,2 +1,16 @@
|
| # iron-input
|
| -An input with data binding
|
| +
|
| +An input with data binding.
|
| +
|
| +By default you can only get notified of changes to an `input`'s `value` due to user input:
|
| +
|
| +```html
|
| +<input value="{{myValue::input}}">
|
| +```
|
| +
|
| +`iron-input` adds the `bind-value` property that mirrors the `value` property, and can be used
|
| +for two-way data binding. `bind-value` will notify if it is changed either by user input or by script.
|
| +
|
| +```html
|
| +<input is="iron-input" bind-value="{{myValue}}">
|
| +```
|
|
|