roicsa
Last Updated: February 25, 2016
·
3.043K
· analogj
57a90b685ef5eb6b17edf33fa91c4ea8

AngularJS + MediaQueries = matchmedia-ng

matchmedia-ng is a set of AngularJS bindings and helper functions for the matchMedia javascript api. With matchMedia, AngularJS and matchmedia-ng you can automatically respond to the orientation, browser height, width and other properties supported by CSS Media Queries.

Responsive design is very powerful, allowing you to change the design of your site to fit the device, without changing your content. However there are times where you will want to execute some arbitrary javascript code or change the content when your display window changes, that's what matchmedia-ng is for.

Say Thanks
Respond