Match & Unmatch Example
This example show how you can use enquire.js to register match
and unmatch
callbacks against media queries in javascript.
State
Matched
Code
enquire.register("screen and (orientation: landscape)", {
match : function() {
example.match();
},
unmatch : function() {
example.unmatch();
}
});