Answer the question
In order to leave comments, you need to log in
How to mount components via HTML tags in ANGUlAR 5-8?
Hello.
So, I have a task to create this:
Here is the expansion-panel ANGULAR:
<mat-expansion-panel>
<mat-expansion-panel-header>
//content
</mat-expansion-panel-header>
</mat-expansion-panel>
<my-component>
<app-another-component [data] = "data"></app-another-component>
<-- Вот как получить ссылку на этот компонент для его расположения в компоненте "my-component" -->
</my-component>
Answer the question
In order to leave comments, you need to log in
short https://www.bxnotes.ru/conspect/lib/angular/angula...
ok https://medium.com/claritydesignsystem/ng-content-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question