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

Unified Diff: third_party/polymer/v0_8/components-chromium/iron-media-query/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-chromium/iron-media-query/README.md
diff --git a/third_party/polymer/v0_8/components-chromium/iron-media-query/README.md b/third_party/polymer/v0_8/components-chromium/iron-media-query/README.md
index 37354d3e8ba6675e1366d7d709b9aceaec22c6d4..3f1b91cda9ad26b190ebf3a282936bcfd54f6e16 100644
--- a/third_party/polymer/v0_8/components-chromium/iron-media-query/README.md
+++ b/third_party/polymer/v0_8/components-chromium/iron-media-query/README.md
@@ -1 +1,11 @@
# iron-media-query
+
+`iron-media-query` can be used to data bind to a CSS media query.
+The `query` property is a bare CSS media query.
+The `queryMatches` property is a boolean representing if the page matches that media query.
+
+Example:
+
+```html
+<iron-media-query query="(min-width: 600px)" queryMatches="{{queryMatches}}"></iron-media-query>
+```

Powered by Google App Engine
This is Rietveld 408576698