gradio.dispatch("change")}
selectable={_selectable}
{root}
{sources}
{interactive}
showDownloadButton={show_download_button}
showShareButton={show_share_button}
showClearButton={show_clear_button}
i18n={gradio.i18n}
boxesAlpha={boxes_alpha}
labelList={label_list}
labelColors={label_colors}
boxMinSize={box_min_size}
on:edit={() => gradio.dispatch("edit")}
on:clear={() => {
gradio.dispatch("clear");
}}
on:drag={({ detail }) => (dragging = detail)}
on:upload={() => gradio.dispatch("upload")}
on:select={({ detail }) => gradio.dispatch("select", detail)}
on:share={({ detail }) => gradio.dispatch("share", detail)}
on:error={({ detail }) => {
loading_status = loading_status || {};
loading_status.status = "error";
gradio.dispatch("error", detail);
}}
{label}
{show_label}
>
{#if active_source === "upload"}
{:else if active_source === "clipboard"}
{:else}
{/if}