From bbf51a6270f1d4fd909e2c285dda4ccee826f8f0 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 22 Feb 2024 09:53:12 +0100 Subject: [PATCH] Bozza modifiche x ospitare PdfViewer --- .../.config/dotnet-tools.json | 5 +++ .../EgwCoreLib.BlazorTest.csproj | 6 ++- EgwCoreLib.Razor/PdfViewer.razor | 12 ++++++ EgwCoreLib.Razor/PdfViewer.razor.cs | 37 +++++++++++++++++++ 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 EgwCoreLib.BlazorTest/.config/dotnet-tools.json create mode 100644 EgwCoreLib.Razor/PdfViewer.razor create mode 100644 EgwCoreLib.Razor/PdfViewer.razor.cs diff --git a/EgwCoreLib.BlazorTest/.config/dotnet-tools.json b/EgwCoreLib.BlazorTest/.config/dotnet-tools.json new file mode 100644 index 0000000..b0e38ab --- /dev/null +++ b/EgwCoreLib.BlazorTest/.config/dotnet-tools.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "isRoot": true, + "tools": {} +} \ No newline at end of file diff --git a/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj b/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj index 6cd8281..21a0406 100644 --- a/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj +++ b/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -11,6 +11,10 @@ + + <_WebToolingArtifacts Remove="Properties\PublishProfiles\IIS01.pubxml" /> + + diff --git a/EgwCoreLib.Razor/PdfViewer.razor b/EgwCoreLib.Razor/PdfViewer.razor new file mode 100644 index 0000000..2c8e950 --- /dev/null +++ b/EgwCoreLib.Razor/PdfViewer.razor @@ -0,0 +1,12 @@ +
+ @if (isMobile) + { +

Mobile

+