changeDetection property

ChangeDetectionStrategy changeDetection
final

Defines the used change detection strategy.

When a component is instantiated, Angular creates a change detector, which is responsible for propagating the component's bindings.

The changeDetection property defines, whether the change detection will be checked every time or only when the component tells it to do so.

Implementation

final ChangeDetectionStrategy changeDetection;