This might 
help http://stackoverflow.com/questions/34381680/angular-2-change-detection

On Wednesday, December 30, 2015 at 4:06:56 AM UTC+1, Vern Jensen wrote:
>
> I'm using Angular 2 inside of a WebKit view. I'm sending data directly to 
> the JavaScript from the C++ code, and have found that when doing this, 
> Angular 2 doesn't realize that the 'watched' data has changed.
>
> I did some googling and found this:
>
>
> http://stackoverflow.com/questions/30734646/angular-2-substitute-for-scope-apply
>
> Sounds like Zone's afterTask() method is what I want. Could anyone explain 
> how to use this with Angular 2, to tell Angular that some given data that 
> it's watching has been changed? (Normally this isn't necessary, but due to 
> the unique way I'm changing data, somehow I'm bypassing Angular 2's 
> watchers, it seems. But there is no longer $scope.$apply()...)
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to