Files
Samuele Locatelli 4e533bff80 Test display pdf...
2024-02-22 18:48:53 +01:00

27 lines
818 B
Plaintext

<div class="d-flex justify-content-between mb-1">
<div class="px-0">
<div class="input-group input-group-sm w-100">
<span class="input-group-text"><b>@(isMobile ? "Mobile" : "Desktop")</b></span>
</div>
</div>
<div class="px-0">
<div class="input-group input-group-sm w-100">
<span class="input-group-text">H</span>
<select class="form-select" @bind="@Height">
@foreach (var item in HeightList)
{
<option value="@item.Value">@item.Key</option>
}
</select>
</div>
</div>
</div>
@if (isMobile)
{
<iframe src="@PdfUrl" width="@Width" height="@Height" />
}
else
{
<object type="application/pdf" data="@PdfUrl" width="@Width" height="@Height" />
}