CC1
Lite
{#each [["Numeric Layer", "123", 1], ["Primary Layer", "abc", 0], ["Function Layer", "function", 2]] as [title, icon, value]}
(activeLayer = value)} class:active={activeLayer === value} > {icon}
{/each}
{#if device === "ONE"}
{:else}
Unsupported device ({$serialPort?.device})
{/if}