Harvey.js - A State Manager For CSS Media Queries
Harvey.js
is a state manager for CSS media queries. Media queries are great for
visual tweaks and simple behavioral switches, but they become difficult
to rely on when behaviors change for larger or smaller devices. Harvey
helps you monitor and manage those changes by firing an event whenever
your media query is activated.
This method is preferable to relying on a screen resize event because
you only receive an event when the query is matched - not for every
screen resize. Less testing and more doing.

Requirements: None
Demo: http:/ / harvesthq. github. com/ harvey/ #demo
License: Free
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)





