Skip to content

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

@Achilles1515

Description

@Achilles1515

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2The issue is important to a large percentage of users, with a workarounddoc-topic: referenceUse only with "comp: docs" for issues in the reference topics

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions