diff options
Diffstat (limited to 'nuldoc-src/pages/slide.ts')
| -rw-r--r-- | nuldoc-src/pages/slide.ts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nuldoc-src/pages/slide.ts b/nuldoc-src/pages/slide.ts index fdfe868..2b7e202 100644 --- a/nuldoc-src/pages/slide.ts +++ b/nuldoc-src/pages/slide.ts @@ -90,6 +90,27 @@ export async function generateSlidePage( ), ), ), + el( + "canvas", + [["id", "slide"], ["data-slide-link", slide.slideLink]], + ), + el( + "div", + [], + el("button", [["id", "prev"]], text("Prev")), + el("button", [["id", "next"]], text("Next")), + ), + el( + "script", + [[ + "src", + "https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.4.120/pdf.min.js", + ]], + ), + el( + "script", + [["src", "/slide.js"], ["type", "module"]], + ), ), ), ), |
