handleCommand(command)}
- bind:this={domItems[index]}
- >
-
- {#if command.icon}
-
+
+
+
+
+
+ {#each filteredItems as command, index}
+
- {/each}
+ {/each}
+ handleCommand(command)}
+ bind:this={domItems[index]}
+ >
+
- {#if command.keyText}
-
+ {#if command.icon}
+
+ {/if}
+ {@html command.text}
+
+ {#if command.keyText}
+ {formatKeyText(command.keyText)}
{/if}
- {@html command.text}
{formatKeyText(command.keyText)}
- {/if}
-