docs(core): indicate OnPush applies to children (#28320)
Indicate the OnPush change detection strategy applies to all child directives. Resolves confusion from #12480. PR Close #28320
This commit is contained in:
parent
dfcf759e33
commit
9ea0d64d8b
|
@ -18,6 +18,7 @@ export enum ChangeDetectionStrategy {
|
||||||
* Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated
|
* Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated
|
||||||
* until reactivated by setting the strategy to `Default` (`CheckAlways`).
|
* until reactivated by setting the strategy to `Default` (`CheckAlways`).
|
||||||
* Change detection can still be explicitly invoked.
|
* Change detection can still be explicitly invoked.
|
||||||
|
* This strategy applies to all child directives and cannot be overridden.
|
||||||
*/
|
*/
|
||||||
OnPush = 0,
|
OnPush = 0,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue