Answer the question
In order to leave comments, you need to log in
Angular: how to start rendering when a variable changes?
Although I write on Vue, few people here seem to know it. Therefore, I will ask how to do it on Angular. Essence.
You need to draw the list, but not immediately, but only when the value of the `rasters_previews_list` variable has changed (it has received data in itself)
<ul v-for="img in rasters_previews_list">
<li>{{img.id}}</li>
<ul>
Answer the question
In order to leave comments, you need to log in
https://docs.angularjs.org/api/ng/type/$rootScope....
But Vue doesn't have dirty checking and therefore doesn't require $apply, so maybe this link will help:
https://github .com/vuejs/vue/issues/483
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question