{#each source.head as heading } {/each} {#each source.body as row, rowIndex} { onRowClick(e, rowIndex); }} on:keydown={(e) => { onRowKeydown(e, rowIndex); }} aria-rowindex={rowIndex + 1} > {#each row as cell, cellIndex} {/each} {/each} {#if source.foot} {#each source.foot as cell } {/each} {/if}
{@html heading}
{@html Number(cell) === 0 ? cell : (cell ? cell : '-')}
{@html cell}