ChangeDetectionStrategy
enum
npm Package | @angular/core |
---|---|
Module | import { ChangeDetectionStrategy } from '@angular/core'; |
Source | core/src/change_detection/constants.ts |
Overview
enum ChangeDetectionStrategy { OnPush: 0 Default: 1 }
Members
OnPush: 0
OnPush
means that the change detector's mode will be initially set to CheckOnce
.
Default: 1
Default
means that the change detector's mode will be initially set to CheckAlways
.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/ChangeDetectionStrategy