enableProdMode

Disable Angular's development mode, which turns off assertions and other checks within the framework.

查看"说明"...

      
      enableProdMode(): void
    
参数

没有参数。

返回值

void

说明

One important assertion this disables verifies that a change detection pass does not result in additional changes to any bindings (also known as unidirectional data flow).