Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: third_party/polymer/v0_8/components/iron-input/README.md

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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}}">
+```
« no previous file with comments | « third_party/polymer/v0_8/components/iron-input/.bower.json ('k') | third_party/polymer/v0_8/components/iron-input/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698