| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!--- | |
| 3 | |
| 4 This README is automatically generated from the comments in these files: | |
| 5 iron-media-query.html | |
| 6 | |
| 7 Edit those files, and our readme bot will duplicate them over here! | |
| 8 Edit this file, and the bot will squash your changes :) | |
| 9 | |
| 10 --> | |
| 11 | |
| 12 [](https://travis-ci.org/PolymerElements/iron-media-query) | |
| 13 | |
| 14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-media-qu
ery)_ | |
| 15 | |
| 16 | |
| 17 ##<iron-media-query> | |
| 18 | |
| 19 | |
| 20 `iron-media-query` can be used to data bind to a CSS media query. | |
| 21 The `query` property is a bare CSS media query. | |
| 22 The `query-matches` property is a boolean representing whether the page matches
that media query. | |
| 23 | |
| 24 Example: | |
| 25 | |
| 26 <iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}
"></iron-media-query> | |
| 27 | |
| 28 | |
| OLD | NEW |