How to run component on template, outside of zone?

后端 未结 0 2000
粉色の甜心
粉色の甜心 2021-01-04 05:52

In Typescript, I can run the 3rd party libraries I want outside the region by using

this.ngZone.runOutsideAngular(() => {
   this.myThirdLib = new ThirdLib         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题