{#if !interactive} {#if label} {/if} {#if value} gradio.dispatch("select", detail)} selectable={_selectable} {value} {show_legend} {color_map} /> {:else} {/if} {:else} {#if label} {/if} {#if value} gradio.dispatch("change")} selectable={_selectable} {show_legend} {color_map} /> {:else} {/if} {/if}