Skip to content

Commit 063035f

Browse files
AlirezaEbrahimkhaniPawel Kozlowski
authored andcommitted
docs: fix embedded view description issue (#46957)
createEmbeddedView method instantiates an embedded view based on this template and take your templateRef as argument and would render the passed templateRef in your ViewContainerRef. resolves #46955 PR Close #46957
1 parent 0a99130 commit 063035f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/linker/template_ref.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export abstract class TemplateRef<C> {
5252
abstract readonly elementRef: ElementRef;
5353

5454
/**
55-
* Instantiates an embedded view based on this template,
56-
* and attaches it to the view container.
55+
* Instantiates an unattached embedded view based on this template.
5756
* @param context The data-binding context of the embedded view, as declared
5857
* in the `<ng-template>` usage.
5958
* @param injector Injector to be used within the embedded view.

0 commit comments

Comments
 (0)