Skip to content

Commit

Permalink
Merge pull request #81 from SyncfusionExamples/ES-920680-popupWindow
Browse files Browse the repository at this point in the history
920680: Reduce slowness while running the WASM sample in Debug Mode
  • Loading branch information
KameshRajendran authored Nov 12, 2024
2 parents 258f81b + 8356583 commit 9baa398
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<SfButton @onclick="OnClick">Open PDF Viewer</SfButton>
<SfDialog @ref="@Dialog" Target="#target" Width="1060px" Visible="false" IsModal="true" Header= "@Header" ShowCloseIcon="true">
<SfPdfViewer2 @ref="Viewer">
<PdfViewerEvents Created="created"></PdfViewerEvents>
<PdfViewerEvents Created="Created"></PdfViewerEvents>
</SfPdfViewer2>
</SfDialog>
</div>
Expand All @@ -21,7 +21,7 @@
await this.Dialog.ShowAsync();
}

private async void created()
private async void Created()
{
await Viewer.LoadAsync(DocumentPath, null);
}
Expand Down

0 comments on commit 9baa398

Please sign in to comment.