This commit is contained in:
2025-08-21 10:51:32 +02:00
parent cd88c79b32
commit 9957229e70
5 changed files with 80 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
<MudDialog Class="customDialog-form">
<DialogContent>
@if (!string.IsNullOrEmpty(FileViewerUrl))
{
<iframe src="@FileViewerUrl" style="width:100%; height:80vh; border:none;"></iframe>
}
</DialogContent>
</MudDialog>
@code {
[CascadingParameter] private IMudDialogInstance MudDialog { get; set; }
[Parameter] public string? FileViewerUrl { get; set; }
}