s3-share/web/opener/PDF.svelte

14 lines
274 B
Svelte
Raw Permalink Normal View History

2022-06-08 10:02:09 +00:00
<script lang="ts">
export let contentType: string;
export let filename: string;
export let slug: string;
</script>
<iframe src="/s/{slug}.pdf" title="{filename}" frameborder="0"></iframe>
<style>
iframe{
min-width: 100%;
height: 90vh;
}
</style>