Skip to content

Commit

Permalink
add matchmedia sample
Browse files Browse the repository at this point in the history
  • Loading branch information
rsternagel committed Jun 27, 2013
1 parent b8f9554 commit e5cccc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions component/standalone/website/api/samples/MatchMedia.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
addSample("q.matchMedia", function() {
q.matchMedia("all and (orientation:landscape)").matches // true or false
});

0 comments on commit e5cccc3

Please sign in to comment.