ucap-doc/documents/업무/2월/3째주/file-viewer-prj/file-viewer.dialog.component.html
2020-02-21 09:35:58 +09:00

18 lines
463 B
HTML

<ng-container *ngIf="!!currentFileInfo">
<ucap-file-viewer
*ngIf="!isMediaType"
[fileInfo]="fileInfo"
[fileDownloadUrl]="fileDownloadUrl"
(download)="onDownload($event)"
(closed)="onClosedViewer()"
></ucap-file-viewer>
<ucap-media-viewer
*ngIf="isMediaType"
[fileInfo]="fileInfo"
[fileDownloadUrl]="fileDownloadUrl"
(download)="onDownload($event)"
(closed)="onClosedViewer()"
></ucap-media-viewer>
</ng-container>