{#if $status === "idle"} {:else if $status === "loading"} Loading... {:else if $status === "error"} Error {/if}