Skip to content

Commit 60774d1

Browse files
author
Shawn Huang
committed
docs: correct reattach example in ChangeDetectorRef
Correct the reattach api example. The attach api example was shown as the reattach example. Fixes: #25495
1 parent 379e8c5 commit 60774d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/change_detection/change_detector_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* when the `live` property is set to false, and reattaches it when the property
4545
* becomes true.
4646
*
47-
* <code-example path="core/ts/change_detect/change-detection.ts" region="detach"></code-example>
47+
* <code-example path="core/ts/change_detect/change-detection.ts" region="reattach"></code-example>
4848
*
4949
*/
5050
export abstract class ChangeDetectorRef {

0 commit comments

Comments
 (0)