2020-02-10 19:09:57 +09:00

45 lines
1.1 KiB
HTML

<div class="rightDrawer-title">
<h3>{{ getTitle() }}</h3>
<span>
<button
mat-button
matSuffix
mat-icon-button
aria-label="Close"
(click)="onClickClose()"
>
<mat-icon>close</mat-icon>
</button>
</span>
</div>
<ng-container *ngIf="selectedRightDrawer" [ngSwitch]="selectedRightDrawer">
<!-- [S] About Chat room -->
<app-layout-chat-right-drawer-file-box
*ngSwitchCase="RightDrawer.FileBox"
class="rightDrawer-item"
>
</app-layout-chat-right-drawer-file-box>
<app-layout-chat-right-drawer-album-box
*ngSwitchCase="RightDrawer.AlbumBox"
class="rightDrawer-item"
>
</app-layout-chat-right-drawer-album-box>
<app-layout-chat-right-drawer-room-user-list
*ngSwitchCase="RightDrawer.RoomUser"
(openProfile)="onClickOpenProfile($event)"
class="rightDrawer-item"
>
</app-layout-chat-right-drawer-room-user-list>
<!-- [E] About Chat room -->
<!-- [S] About Common -->
<app-layout-chat-right-drawer-notice
*ngSwitchCase="RightDrawer.Notice"
class="rightDrawer-item"
>
</app-layout-chat-right-drawer-notice>
<!-- [E] About Common -->
</ng-container>