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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-media-query/README.md

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 # iron-media-query 1 # iron-media-query
2 2
3 `iron-media-query` can be used to data bind to a CSS media query. 3 `iron-media-query` can be used to data bind to a CSS media query.
4 The `query` property is a bare CSS media query. 4 The `query` property is a bare CSS media query.
5 The `queryMatches` property is a boolean representing if the page matches that m edia query. 5 The `query-matches` property is a boolean representing if the page matches that media query.
6 6
7 Example: 7 Example:
8 8
9 ```html 9 ```html
10 <iron-media-query query="(min-width: 600px)" queryMatches="{{queryMatches}}"></i ron-media-query> 10 <iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></ iron-media-query>
11 ``` 11 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698