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:
Cameron Steffen 2019-01-23 10:00:22 -06:00 committed by Miško Hevery
parent dfcf759e33
commit 9ea0d64d8b
1 changed files with 1 additions and 0 deletions

View File

@ -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,