Skip to content

Commit aad267a

Browse files
arnelumandapjrAndrewKushnir
authored andcommitted
docs: add missing "when" (#50262)
PR Close #50262
1 parent 1686659 commit aad267a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio/content/guide/change-detection-skipping-subtrees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ As an example, in the diagram below, Angular handles an event in `LoginComponent
5959

6060
## New inputs to component with OnPush
6161

62-
Angular will run change detection within a child component with `OnPush` setting an input property as result of a template binding.
62+
Angular will run change detection within a child component with `OnPush` when setting an input property as result of a template binding.
6363

6464
For example, in the diagram below, `AppComponent` passes a new input to `MainComponent`, which has `OnPush`. Angular will run change detection in `MainComponent` but will not run change detection in `LoginComponent`, which also has `OnPush`, unless it receives new inputs as well.
6565

0 commit comments

Comments
 (0)