summaryrefslogtreecommitdiffstats
path: root/third_party/polymer/v1_0/components/iron-media-query/README.md
blob: 3f1b91cda9ad26b190ebf3a282936bcfd54f6e16 (plain)
1
2
3
4
5
6
7
8
9
10
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>
```