File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 6161 <PackageReference Include =" BootstrapBlazor.OfficeViewer" Version =" 9.0.0" />
6262 <PackageReference Include =" BootstrapBlazor.OnScreenKeyboard" Version =" 9.0.1" />
6363 <PackageReference Include =" BootstrapBlazor.PdfReader" Version =" 9.0.1" />
64- <PackageReference Include =" BootstrapBlazor.PdfViewer" Version =" 9.0.3 " />
64+ <PackageReference Include =" BootstrapBlazor.PdfViewer" Version =" 9.0.5 " />
6565 <PackageReference Include =" BootstrapBlazor.Player" Version =" 9.0.1" />
6666 <PackageReference Include =" BootstrapBlazor.RDKit" Version =" 9.0.2" />
6767 <PackageReference Include =" BootstrapBlazor.SignaturePad" Version =" 9.0.1" />
Original file line number Diff line number Diff line change 1616 <Switch @bind-Value =" @_useGoogleDocs" ></Switch >
1717 </BootstrapInputGroup >
1818 </div >
19+ <div class =" col-12 col-sm-6" >
20+ <BootstrapInputGroup >
21+ <BootstrapInputGroupLabel DisplayText =" PageIndex" ></BootstrapInputGroupLabel >
22+ <Select @bind-Value =" @_pageIndex" >
23+ <Options >
24+ <SelectOption Value =" 1" Text =" 1" ></SelectOption >
25+ <SelectOption Value =" 3" Text =" 3" ></SelectOption >
26+ <SelectOption Value =" 5" Text =" 5" ></SelectOption >
27+ <SelectOption Value =" 10" Text =" 10" ></SelectOption >
28+ </Options >
29+ </Select >
30+ </BootstrapInputGroup >
31+ </div >
1932 </div >
2033 </section >
21- <PdfViewer Url =" ./samples/sample.pdf" Height =" 620px"
34+ <PdfViewer Url =" ./samples/sample.pdf" Height =" 620px" PageIndex = " @_pageIndex "
2235 NotSupportCallback =" NotSupportCallback" OnLoaded =" OnLoaded"
2336 UseGoogleDocs =" @_useGoogleDocs" ></PdfViewer >
2437</DemoBlock >
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ public partial class PdfViewers
1717
1818 private bool _useGoogleDocs = false ;
1919
20+ private int _pageIndex = 1 ;
21+
2022 private Task OnLoaded ( ) => ToastService . Success ( "Pdf Viewer" , Localizer [ "PdfViewerToastSuccessfulContent" ] ) ;
2123
2224 private Task NotSupportCallback ( ) => ToastService . Error ( "PdfViewer" , Localizer [ "PdfViewerToastNotSupportContent" ] ) ;
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <PropertyGroup >
4- <Version >9.8.3-beta01 </Version >
4+ <Version >9.9.0 </Version >
55 </PropertyGroup >
66
77 <ItemGroup >
You can’t perform that action at this time.
0 commit comments