We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I installed this plugin in Angular 1.3 and I am using the .on method like this:
.on
Main Controller:
vm.desktop = screenSize.on('md, lg'); vm.mobile = screenSize.on('xs, sm');
Ng-View:
<div ng-if="main.desktop"> Show Desktop </div> <div ng-if="main.mobile"> Show Mobile </div>
When the browser is resized, I keep getting this error in Google Chrome Console:
match-media.js:155 Uncaught TypeError: callback is not a function at listenerFunc (match-media.js:155)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I installed this plugin in Angular 1.3 and I am using the
.on
method like this:Main Controller:
Ng-View:
When the browser is resized, I keep getting this error in Google Chrome Console:
The text was updated successfully, but these errors were encountered: