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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/README.md

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/v1_0/components-chromium/iron-autogrow-textarea/README.md
diff --git a/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/README.md b/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/README.md
index 7242abce56d74eb185346cc81a56059035ee79eb..31eab9c540f6ca30be07a5d771db2602d9b16366 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/README.md
+++ b/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/README.md
@@ -6,19 +6,7 @@ never scroll.
Example:
- <iron-autogrow-textarea id="a1">
- <textarea id="t1"></textarea>
- </iron-autogrow-textarea>
+ <iron-autogrow-textarea></iron-autogrow-textarea>
Because the `textarea`'s `value` property is not observable, you should use
-this element's `bind-value` instead for imperative updates. Alternatively, if
-you do set the `textarea`'s `value` imperatively, you must also call `update`
-to notify this element the value has changed.
-
- Example:
- /* preferred, using the example HTML above*/
- a1.bindValue = 'some\ntext';
-
- /* alternatively, */
- t1.value = 'some\ntext';
- a1.update();
+this element's `bind-value` instead for imperative updates.

Powered by Google App Engine
This is Rietveld 408576698