Skip to content

Commit

Permalink
Fix #8: queryMatches -> query-matches
Browse files Browse the repository at this point in the history
  • Loading branch information
blasten committed Jun 12, 2015
1 parent 86a683a commit f9c5b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

`iron-media-query` can be used to data bind to a CSS media query.
The `query` property is a bare CSS media query.
The `queryMatches` property is a boolean representing if the page matches that media query.
The `query-matches` property is a boolean representing if the page matches that media query.

Example:

```html
<iron-media-query query="(min-width: 600px)" queryMatches="{{queryMatches}}"></iron-media-query>
<iron-media-query query="(min-width: 600px)" query-matches="{{queryMatches}}"></iron-media-query>
```

0 comments on commit f9c5b0d

Please sign in to comment.