angular icon indicating copy to clipboard operation
angular copied to clipboard

docs: TemplateRef.createEmbeddedView() mentions attaching the instantiated view to a view container

Open Achilles1515 opened this issue 1 year ago • 1 comments

Description

The TemplateRef.createEmbeddedView() method states:

Instantiates an embedded view based on this template, and attaches it to the view container.

  • What view container is this method description referencing? No ViewContainerRef is being used here.

I don't believe this description is correct, but please correct me if I am wrong.

What is the affected URL?

https://angular.io/api/core/TemplateRef#createembeddedview

Achilles1515 avatar Jul 25 '22 06:07 Achilles1515

You are absolutely right - this part of the description is incorrect:

and attaches it to the view container.

pkozlowski-opensource avatar Jul 25 '22 06:07 pkozlowski-opensource

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.