You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Is it possible to add global configuration to disable/enable digest auto run?
For example I don't need digest's auto run after ngClick, ngMouseover, ngMosuemove, $http queries,etc. but I need to execute these functions. And when needed - I will run digest manually.
If needed I can provide detailed examples when I need this behavior.
The text was updated successfully, but these errors were encountered:
If you want event directives (for click, mouseover etc) that do not invoke a $digest, you can create your own, they are fairly simple.
$http is more deeply integrated with the $digest cycle, you should use an alternative solution for that.
BTW, there is already a request to add support for skipping the $digest from $http. It is tracked in #2049.
Also, since all digest cycles come through $rootScope.$digest(), you might be able to patch it up for your own needs, but it's hardly recommended, since it's such a core part of the framework and it's easy to mess things up really well.
Is it possible to add global configuration to disable/enable digest auto run?
For example I don't need digest's auto run after ngClick, ngMouseover, ngMosuemove, $http queries,etc. but I need to execute these functions. And when needed - I will run digest manually.
If needed I can provide detailed examples when I need this behavior.
The text was updated successfully, but these errors were encountered: