On this page
ChangeDetectionStrategy
enum
The strategy that the default change detector uses to detect changes. When set, takes effect the next time change detection is triggered.
enum ChangeDetectionStrategy {
  OnPush: 0
  Default: 1
}
   Members
| Member | Description | 
|---|---|
OnPush: 0 | 
       Use the   | 
      
Default: 1 | 
       Use the default   | 
      
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v7.angular.io/api/core/ChangeDetectionStrategy