Load Paged.js as a model #19

Open
opened 2 years ago by mb · 1 comments
mb commented 2 years ago
Owner

Just learning from Julie Blanc from Paged.js that you can load Paged.js as a module, which means that you can execute code before loading Paged.js. In this way, we can get rid of the <iframe> in the PDF view.

See:

esm basically stands for "paged.js as a module"

Just learning from Julie Blanc from Paged.js that you can load Paged.js as a module, which means that you can execute code before loading Paged.js. In this way, we can get rid of the `<iframe>` in the PDF view. See: - https://pagedjs.org/posts/paged-break-the-long-overdue-update/ - https://gitlab.coko.foundation/pagedjs/starter-kits (book-spread_esm is an example where this is applied) - https://unpkg.com/browse/pagedjs@0.3.5/dist/ (the esm version of Paged.js is here) `esm` basically stands for "paged.js as a module"
mb changed title from Paged.js: load paged.js as a model to Load Paged.js as a model 2 years ago
Collaborator

we can get rid of the <iframe> in the PDF view.

🤟

> we can get rid of the `<iframe>` in the PDF view. 🤟
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.