$rootScope.Scope.$applyAsync()

$applyAsync([exp]);

Schedule the invocation of $apply to occur at a later time. The actual time difference varies across browsers, but is typically around ~10 milliseconds.

This can be used to queue up multiple expressions which need to be evaluated in the same digest.

Parameters

Param Type Details
exp
(optional)
stringfunction()

An angular expression to be executed.

  • string: execute using the rules as defined in expression.
  • function(scope): execute the function with current scope parameter.
doc_AngularJS
2016-03-29 16:10:38
Comments
Leave a Comment

Please login to continue.