~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/iron-media-query/README.md

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
[![Build Status](https://travis-ci.org/PolymerElements/iron-media-query.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-media-query)
 
13
 
 
14
_[Demo and API Docs](https://elements.polymer-project.org/elements/iron-media-query)_
 
15
 
 
16
 
 
17
##&lt;iron-media-query&gt;
 
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