Angular · Concept
Change detection
Angular component metadata can control change detection, template whitespace, and validation of custom elements. OnPush performs fewer automatic checks, while schemas can allow elements that Angular does not recognize.
Last updated
Syntax
@Component({ changeDetection, preserveWhitespaces, schemas })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ChangeDetectionStrategyChangeDetectorRef.markForCheckCUSTOM_ELEMENTS_SCHEMANO_ERRORS_SCHEMApreserveWhitespacesComponent