docs: fix ngOnChange description issue (#44582)

ngOnChange respond when Angular sets or resets data-bound @input properties and description of the ngOnChanges should be `When an [input](#input) binding value changes` instead of `When an [input](#input)/[output](#output) binding value changes`

resolves angular#44559

PR Close #44582
This commit is contained in:
AlirezaEbrahimkhani
2021-12-30 17:55:41 +03:30
committed by Dylan Hunn
parent bfd94b39d3
commit ed6e2d21ab
+1 -1
View File
@@ -572,7 +572,7 @@ For example, the `OnInit` interface has a hook method named `ngOnInit`.
Angular calls these hook methods in the following order:
* `ngOnChanges`: When an [input](#input)/[output](#output) binding value changes.
* `ngOnChanges`: When an [input](#input) binding value changes.
* `ngOnInit`: After the first `ngOnChanges`.
* `ngDoCheck`: Developer's custom change detection.
* `ngAfterContentInit`: After component content initialized.