- {#each tool!.params as p (p.id)}
-
- {#if p.type === "color"}
- setParam(p.id, v)}
- />
- {:else if p.type === "slider"}
- setParam(p.id, v)}
- />
- {:else if p.type === "select"}
- setParam(p.id, v)}
- />
- {:else if p.type === "checkbox"}
-
- {:else if p.type === "text"}
- setParam(p.id, v)}
- />
- {:else if p.type === "number"}
- setParam(p.id, v)}
- />
- {/if}
-
- {/each}
-
-