forked from MapComplete/MapComplete
Chore: create empty test file
This commit is contained in:
parent
d41c714eec
commit
90785add03
1 changed files with 2 additions and 18 deletions
|
@ -1,19 +1,3 @@
|
|||
<script lang="ts">
|
||||
import FileSelector from "./Base/FileSelector.svelte"
|
||||
import ExifReader from "exifreader"
|
||||
import { UIEventSource } from "../Logic/UIEventSource"
|
||||
<script lang="ts"></script>
|
||||
|
||||
let txt = new UIEventSource("")
|
||||
|
||||
async function accept(fileList: FileList) {
|
||||
const tags = await ExifReader.load(fileList.item(0))
|
||||
console.log("All tags:", tags)
|
||||
txt.set(tags.ProjectionType.value)
|
||||
}
|
||||
</script>
|
||||
|
||||
<FileSelector on:submit={(fileList) => accept(fileList.detail)} accept="image/jpg">
|
||||
Select file
|
||||
</FileSelector>
|
||||
|
||||
<b>{$txt}</b>
|
||||
Nothing to test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue