udemy.angular/docs/dynamiccomponents.md

9 lines
342 B
Markdown
Raw Normal View History

2021-12-25 17:04:40 +01:00
# Dynamic Components
Strongly raccomandated to use the ngIf-Module.
For dynamic Components, have to be implemented manually the [ComponentFactory](https://angular.io/api/core/ComponentFactory).
Therefore all registration and cleanup has to be done manually.
Angular documentation [here](https://angular.io/guide/dynamic-component-loader).