Package Exports
- @polymer/iron-media-query
- @polymer/iron-media-query/iron-media-query
- @polymer/iron-media-query/iron-media-query.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polymer/iron-media-query) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
##<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 whether the page matches that media query.
Example:
<iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>