Releases: sentrysoftware/angular-match-media
Releases · sentrysoftware/angular-match-media
v1.1.1
What's Changed
- Cleaned-up initialization code for faster start time and avoid flickering
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- Added support for persistent user settings for color scheme (dark or light) by @bertysentry in #13
Full Changelog: v1.0.2...v1.1.0
v1.0.2
What's Changed
- Prepare release 1.0.1 on NPMjs by @bertysentry in #8
- Update install instructions in README.md by @bertysentry in #9
- Added sourcemaps by @bertysentry in #10
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- Full rewrite
- Relies on
matchMediaQueries
change
events only, noresize
- Dropped support for browsers older > 10 years
- Proper detection of screen size changes when printing, and forced synchronization of AngularJS
- Now automatically loads the service and sets
$matchMedia
in$rootScope
, accessible to all controllers (which is what makes most sense) $matchMedia
contains the below properties:size
:"xs|sm|md|lg"
, current size of the screenretina
:true|false
, whether we're on high-DPI displayprint
:true|false
, whether we're printingdark
:true|false
, Whether we're in dark mode
- Changed license to MIT
- Removed old matchMedia
Full Changelog: v0.8.0...v1.0.1
v0.8.0
What's Changed
- Width change is now detected when printing by @bertysentry in #2
- Version bump to 0.8.0 by @bertysentry in #3
New Contributors
- @bertysentry made their first contribution in #2
Full Changelog: https://github.com/sentrysoftware/angular-match-media/commits/v0.8.0