{#if pg.phase.kind === 'loading'}
{:else if pg.phase.kind === 'error'}
void pg.load()} />
{:else} {#snippet bar()} HUD

Playground

unlessEdited(() => pg.choose(name))} onblank={() => unlessEdited(() => pg.blank())} /> {/snippet} {#snippet preview()} void pg.draw(true)} oncall={(call) => pg.open(call)} onfollow={(opened) => (opened.template ? unlessEdited(() => pg.follow(opened)) : pg.follow(opened))} ondismiss={() => (pg.opened = null)} /> {/snippet} {#snippet editor()} pg.switchTool(tool)} onreset={resetTo ? () => unlessEdited(() => pg.choose(resetTo)) : null} resetTitle={template ? `Reset the call and the view to ${template.app}: ${template.example.title}` : ''} /> {/snippet} {#snippet overlays()} {#if pending} (pending = null)}>

What you changed in the call and the view goes. Copy a link first to keep it.

{/if} {/snippet}
{/if}