Answer the question
In order to leave comments, you need to log in
Is there an analogue of the $timer function in Angular 2?
Well actually all question in a subject. When using a normal javascript setTimeout, you can change the data between digest cycles and Angular will not see the change. How to solve this problem in the second angular?
Answer the question
In order to leave comments, you need to log in
Angular2 replaces setTimeout, setInterval and the rest of the world (zone.js), so Angular2 should see the changes after setTimeout.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question