Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/contentco/angular-match-media

Angular module to use Bootstrap3 media queries in your angular controllers.
https://github.com/contentco/angular-match-media

Last synced: about 2 months ago
JSON representation

Angular module to use Bootstrap3 media queries in your angular controllers.

Awesome Lists containing this project

README

        

# Angular matchMedia Module

Provides an Angular service that returns true if the current screen width matches or false if not. Uses the screen widths predefined in Twitter Bootstrap 3 or a customized size you define. There is a staic method `is` which checks for a match on page load and a dynamic method `on` which checks for a match and updates the value on window resize.

## Installation

Download the component via bower:
```bash
bower install --save angular-media-queries
```

Include AngularJS on the page and then include this script. If possible, include these scripts in the footer of your site before the closing `