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