In this article, I want to introduce you the library, explain why and how you’d want to use it.
What is enquire.js?
The library was written by Nick Williams and it’s been around for about three years, having a healthy amount of open source activity. Its aim is not to replace or polyfill
matchMedia; rather, it exists to provide additional functionality around media queries that don’t exist natively.
Why Would I Use It?
There are lots of use cases where enquire.js could be used, including:
- Move nodes around the DOM
- Load supplementary content (e.g. ads) via Ajax
Each of these use cases is covered in the following sections.
Continue reading %Introducing enquire.js%
LEAVE A REPLY
You must be logged in to post a comment.