ucap-doc/documents/업무/2월/3째주/file-viewer-prj/file-viewer.dialog.component.html

18 lines
463 B
HTML
Raw Permalink Normal View History

<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>