summaryrefslogblamecommitdiffstatshomepage
path: root/frontend/src/lib/reader/components/PageIndicator.svelte
blob: f79fc0092c3f4b5382d2382c916c62572e50b8f6 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                       
<script lang="ts">
	import { getReaderContext } from '$lib/Reader';

	const reader = getReaderContext();
</script>

<div class="floating !p-2">
	{$reader.page + 1}/{$reader.pages.length}
</div>