Skip to content

Instantly share code, notes, and snippets.

View cornzz's full-sized avatar
📗
Learning

Cornelius cornzz

📗
Learning
View GitHub Profile
@antony
antony / SimpleFileUploader.svelte
Created September 18, 2019 16:03
File Uploader Svelte
<label>
{#if uploading}
<Progress bind:percent={progress} text="Uploading..." />
{:else if processing}
<Progress percent={100} text="Processing..." />
{:else}
<slot name="content">
</slot>
{/if}
<input