Advanced AngularLesson 33Free preview
Angular Dynamic Comp
This lesson is part of Angular · All levels
Summary
Dynamic components allow you to load a component at runtime without typing the tag directly into the template. The case is usually capital, tooltip, or plugin that comes from the configuration. Modern angular provides the call function output() and host binding to dynamically render components.
Key points
- Components can be made from class type during runtime
- Calls render the components into ViewContainerRef
- HostDirective helps to handle dynamic component output
- Template reference container becomes a target of trending
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.