阅读背景:

Angular的$ compile方法是否会扫描整个DOM?

来源:互联网 

Can someone tell me. Does calling $compile cause angular to traverse the entire DOM? I read somewhere that compiling is an expensive task as it requires angular to traverse the DOM looking for directives, so calling it many times can slow things down. But I can't find where I read it now.Can someone tell me. Does calling $compile caus




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: