{#if expanded} {#each widgetData.layout as layoutGroup, index (index)} {#if isWidgetRow(layoutGroup)} {:else if isWidgetSection(layoutGroup)} {:else} Error: The widget that belongs here has an invalid layout group type {/if} {/each} {/if}