Skip to content

Commit

Permalink
docs: fix embedded view description issue (#46957)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AlirezaEbrahimkhani authored and Pawel Kozlowski committed Aug 11, 2022
1 parent 0a99130 commit 063035f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/src/linker/template_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export abstract class TemplateRef<C> {
abstract readonly elementRef: ElementRef;

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

0 comments on commit 063035f

Please sign in to comment.