2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10 * @group Polymer Core Elements
11 * @element core-media-query
15 * core-media-query can be used to data bind to a CSS media query.
16 * The "query" property is a bare CSS media query.
17 * The "queryMatches" property will be a boolean representing if the page matches that media query.
19 * core-media-query uses media query listeners to dynamically update the "queryMatches" property.
20 * A "core-media-change" event also fires when queryMatches changes.
24 * <core-media-query query="max-width: 640px" queryMatches="{{phoneScreen}}"></core-media-query>
29 * Fired when the media query state changes
31 * @event core-media-change
33 --><html><head><link rel=
"import" href=
"../polymer/polymer.html">
35 </head><body><polymer-element name=
"core-media-query" attributes=
"query queryMatches" assetpath=
"">
45 <script charset=
"utf-8" src=
"core-media-query-extracted.js"></script></body></html>