angular / 4 / api / core / changedetectionstrategy.html

ChangeDetectionStrategy

enum

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