Commit 53aab63
authored
Refactor page number input handling in PdfViewer (#63)
Updated the input field in `PdfViewer.razor` to use explicit binding with `@bind:event`, `@bind:get`, and `@bind:set`. Introduced the `OnPageNumberInput` method to enqueue tasks for processing page number changes asynchronously. This improves control over input events and enhances the overall user experience.
NOTE: This commit message is auto-generated using GitHub Copilot.1 parent 3001628 commit 53aab63
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
0 commit comments