Custom structural directives have been added for improving the components customization. These improvements now allow add custom child components inside of a custom parent component. Besides, the conditional logic has been moved from view to model for improving maintainability
13 lines
320 B
HTML
13 lines
320 B
HTML
<!-- CHAT panel -->
|
|
<ng-container *ngIf="isChatPanelOpened">
|
|
<ng-container *ngTemplateOutlet="chatPanelTemplate"></ng-container>
|
|
</ng-container>
|
|
|
|
|
|
<!-- PARTICIPANTS panel -->
|
|
<ng-container *ngIf="isParticipantsPanelOpened">
|
|
<ng-container *ngTemplateOutlet="participantsPanelTemplate"></ng-container>
|
|
</ng-container>
|
|
|
|
|