c5169e0e
Renato De Donato
a new hope
|
1
|
# iron-media-query
|
eb240478
Luigi Serra
public room cards...
|
2
3
4
|
`iron-media-query` can be used to data bind to a CSS media query.
The `query` property is a bare CSS media query.
|
c5169e0e
Renato De Donato
a new hope
|
5
|
The `query-matches` property is a boolean representing if the page matches that media query.
|
eb240478
Luigi Serra
public room cards...
|
6
7
8
|
Example:
|
c5169e0e
Renato De Donato
a new hope
|
9
10
11
|
```html
<iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>
```
|