Skip to content

Commit 3379227

Browse files
vneogi199atscott
authored andcommitted
docs(core): fix view hierarchy links (#49629)
fixes incorrect links to view-hierarchy (currently view-tree) Fixes #49623 PR Close #49629
1 parent 1c3891c commit 3379227

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/src/linker/component_factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export abstract class ComponentRef<C> {
4949
abstract get instance(): C;
5050

5151
/**
52-
* The [host view](guide/glossary#view-tree) defined by the template
52+
* The [host view](guide/glossary#view-hierarchy) defined by the template
5353
* for this component instance.
5454
*/
5555
abstract get hostView(): ViewRef;

packages/core/src/linker/view_container_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import {EmbeddedViewRef, ViewRef} from './view_ref';
4848
* (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).
4949
*
5050
* A view container instance can contain other view containers,
51-
* creating a [view hierarchy](guide/glossary#view-tree).
51+
* creating a [view hierarchy](guide/glossary#view-hierarchy).
5252
*
5353
* @see `ComponentRef`
5454
* @see `EmbeddedViewRef`

packages/core/src/linker/view_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export abstract class ViewRef extends ChangeDetectorRef {
3838

3939
/**
4040
* Represents an Angular [view](guide/glossary#view) in a view container.
41-
* An [embedded view](guide/glossary#view-tree) can be referenced from a component
41+
* An [embedded view](guide/glossary#view-hierarchy) can be referenced from a component
4242
* other than the hosting component whose template defines it, or it can be defined
4343
* independently by a `TemplateRef`.
4444
*

0 commit comments

Comments
 (0)