Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « iron-media-query « bower_components « static - github.com/pdevty/polymer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f577b3cf014344e95b039553727dcfaf4ae9fcdc (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 `query-matches` property is a boolean representing if the page matches that media query.

Example:

```html
<iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>
```