-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
!3792 doc(#I6B872): update PdfReader demos
* doc(#I6B872): update PdfReader demos
- Loading branch information
1 parent
5998f46
commit db3b73c
Showing
7 changed files
with
69 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/BootstrapBlazor.Shared/Demos/PdfReader/PdfReaderCompatibilityMode.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@using System.ComponentModel; | ||
@inject IStringLocalizer<PdfReaderCompatibilityMode> Localizer | ||
|
||
<Tips> | ||
<div>@((MarkupString)Localizer["PdfReaderCompatibilityModeTips"].Value)</div> | ||
</Tips> | ||
|
||
<h6>CompatibilityMode</h6> | ||
<PdfReader FileName=@FileName CompatibilityMode Height="300px" /> | ||
|
||
<h6>CompatibilityNoneES5</h6> | ||
<PdfReader FileName=@FileName CompatibilityNoneES5 Height="300px" /> | ||
|
||
@code { | ||
[DisplayName("the file in the wwwroot relative path or url")] | ||
private string FileName { get; set; } = "/samples/sample.pdf"; | ||
} |
2 changes: 1 addition & 1 deletion
2
src/BootstrapBlazor.Shared/Demos/PdfReader/PdfReaderNomal.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters