mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-17 21:24:59 +00:00
set preloading: true when appropriate
This commit is contained in:
@@ -1 +1,6 @@
|
||||
<svelte:component this={Page} {...props}/>
|
||||
{#if preloading}
|
||||
<progress class='preloading-progress' value=0.5/>
|
||||
{/if}
|
||||
|
||||
<svelte:component this={Page} {...props}/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user