Closed yizhao closed 9 years ago
As of yet, the plugin doesn't change values once they're set. Would you like to create a PR to fix that? It could probably be wired up pretty quickly with $scope.$watch
..
Thanks for the response. I'll do it when I have some free cycles.
I put a PR in adding this feature. I didn't use $watch. Instead, I'm using events. Take a look. Thanks.
Thanks!
$scope.mobile = screenSize.is('xs'); $scope.desktop = screenSize.is('xm, md, lg');
These two variables are not changing if I'm resizing the browser screen on the fly.