Skip to content

Commit 26195ff

Browse files
983877: RevampAnnotation
1 parent de2381e commit 26195ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+661
-48
lines changed

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Pages/Home.razor

Lines changed: 0 additions & 7 deletions
This file was deleted.

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Routes.razor

Lines changed: 0 additions & 6 deletions
This file was deleted.

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/App.razor renamed to PDFViewer 2/BlazorWebApp/WebApp-Server/Components/App.razor

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
<link rel="stylesheet" href="app.css" />
1010
<link rel="stylesheet" href="PdfViewerSample.styles.css" />
1111
<link rel="icon" type="image/png" href="favicon.png" />
12+
<HeadOutlet @rendermode="InteractiveServer" />
1213
<link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
13-
<HeadOutlet />
14+
<script src="_content/Syncfusion.Blazor.SfPdfViewer/scripts/syncfusion-blazor-sfpdfviewer.min.js" type="text/javascript"></script>
1415
</head>
1516

1617
<body>
17-
<Routes />
18+
<Routes @rendermode="InteractiveServer" />
1819
<script src="_framework/blazor.web.js"></script>
19-
<script src="_content/Syncfusion.Blazor.SfPdfViewer/scripts/syncfusion-blazor-sfpdfviewer.min.js" type="text/javascript"></script>
20-
2120
</body>
2221

2322
</html>

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Layout/MainLayout.razor renamed to PDFViewer 2/BlazorWebApp/WebApp-Server/Components/Layout/MainLayout.razor

File renamed without changes.

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Layout/MainLayout.razor.css renamed to PDFViewer 2/BlazorWebApp/WebApp-Server/Components/Layout/MainLayout.razor.css

File renamed without changes.

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Layout/NavMenu.razor renamed to PDFViewer 2/BlazorWebApp/WebApp-Server/Components/Layout/NavMenu.razor

File renamed without changes.

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Layout/NavMenu.razor.css renamed to PDFViewer 2/BlazorWebApp/WebApp-Server/Components/Layout/NavMenu.razor.css

File renamed without changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@page "/counter"
2+
3+
<PageTitle>Counter</PageTitle>
4+
5+
<h1>Counter</h1>
6+
7+
<p role="status">Current count: @currentCount</p>
8+
9+
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
10+
11+
@code {
12+
private int currentCount = 0;
13+
14+
private void IncrementCount()
15+
{
16+
currentCount++;
17+
}
18+
}

PDFViewer 2/BlazorWebApp/PdfViewerSample/Components/Pages/Error.razor renamed to PDFViewer 2/BlazorWebApp/WebApp-Server/Components/Pages/Error.razor

File renamed without changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@page "/"
2+
3+
<SfPdfViewer2 DocumentPath="@DocumentPath"
4+
Height="100%"
5+
Width="100%">
6+
</SfPdfViewer2>
7+
8+
@code {
9+
public string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf";
10+
}

0 commit comments

Comments
 (0)