Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/contentco/angular-match-media
- Owner: contentco
- License: other
- Fork: true (jacopotarantino/angular-match-media)
- Created: 2019-08-27T08:10:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T05:52:20.000Z (about 5 years ago)
- Last Synced: 2024-09-21T09:05:28.546Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://jack.ofspades.com/angular-matchmedia-module/
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 `