ChangeDetectionStrategy

export enum ChangeDetectionStrategy

exported from angular2/core defined in angular2/src/core/change_detection/constants.ts (line 25)

Describes within the change detector which strategy will be used the next time change detection is triggered.

Members

CheckOnce

CheckedOnce means that after calling detectChanges the mode of the change detector will become Checked.

Checked

Checked means that the change detector should be skipped until its mode changes to CheckOnce.

CheckAlways

CheckAlways means that after calling detectChanges the mode of the change detector will remain CheckAlways.

Detached

Detached means that the change detector sub tree is not a part of the main tree and should be skipped.

OnPush

OnPush means that the change detector's mode will be set to CheckOnce during hydration.

Default

Default means that the change detector's mode will be set to CheckAlways during hydration.

OnPushObserve

This is an experimental feature. Works only in Dart.