aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/item_handlers/async/index.ts
diff options
context:
space:
mode:
authorpacien2022-10-31 00:20:38 +0100
committerpacien2022-11-19 21:25:28 +0100
commita8736b0edb99ad433c8a7795ea1f31a8751c2f41 (patch)
tree55c8cc140002ea89cc4490c2d0f04a91b3e22109 /viewer/src/views/item_handlers/async/index.ts
parent8d514e10db70433adc308bb7af705ef064807091 (diff)
downloadldgallery-a8736b0edb99ad433c8a7795ea1f31a8751c2f41.tar.gz
viewer/epub: add EPUB item handler
This adds a paginated ePub viewer using epub.js.
Diffstat (limited to 'viewer/src/views/item_handlers/async/index.ts')
-rw-r--r--viewer/src/views/item_handlers/async/index.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/viewer/src/views/item_handlers/async/index.ts b/viewer/src/views/item_handlers/async/index.ts
new file mode 100644
index 0000000..d4ca996
--- /dev/null
+++ b/viewer/src/views/item_handlers/async/index.ts
@@ -0,0 +1,23 @@
1/* ldgallery - A static generator which turns a collection of tagged
2-- pictures into a searchable web gallery.
3--
4-- Copyright (C) 2022 Pacien TRAN-GIRARD
5--
6-- This program is free software: you can redistribute it and/or modify
7-- it under the terms of the GNU Affero General Public License as
8-- published by the Free Software Foundation, either version 3 of the
9-- License, or (at your option) any later version.
10--
11-- This program is distributed in the hope that it will be useful,
12-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-- GNU Affero General Public License for more details.
15--
16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18*/
19
20import { defineAsyncComponent } from 'vue';
21
22export const EpubViewer = defineAsyncComponent(() =>
23 import(/* webpackChunkName: "epub-viewer" */ './AsyncEpubViewer.vue'));