Answer the question
In order to leave comments, you need to log in
Does AngularJS redraw the DOM?
When angular applies filters - does it re-render the DOM or swap already existing elements?
Answer the question
In order to leave comments, you need to log in
what? filters are twitched on every $digest cycle. If the filter changes its value, then the DOM changes. The DOM changes - regardless of how it changes, the page or part of it is redrawn.
Or clarify your question. I suspect that you are interested in cases of a combination of ngRepeat and filters for collections. If instead of "redrawing" you mean creating nodes, then ngRepeat tries to use existing nodes. Specify.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question