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
Hello, I understand that this $watch should be listening the config,
https://github.com/lavinjj/angular-responsive/blob/master/src/responsive-directive.js#L91
and if it change destroy and create the element again, per example, when a tablet is turned.
I tried to change to: unwatch = scope.$watch( function() {return scope.$eval( attr[responsiveType] ); }, function ()...
unwatch = scope.$watch( function() {return scope.$eval( attr[responsiveType] ); }, function ()...
but it isn't a good idea, because it is called a lot of time in the digest, any idea?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I understand that this $watch should be listening the config,
https://github.com/lavinjj/angular-responsive/blob/master/src/responsive-directive.js#L91
and if it change destroy and create the element again, per example, when a tablet is turned.
I tried to change to:
unwatch = scope.$watch( function() {return scope.$eval( attr[responsiveType] ); }, function ()...
but it isn't a good idea, because it is called a lot of time in the digest,
any idea?
The text was updated successfully, but these errors were encountered: