{#if !interactive} gradio.dispatch("clear_status", loading_status)} /> gradio.dispatch("select", detail)} on:share={({ detail }) => gradio.dispatch("share", detail)} on:error={({ detail }) => gradio.dispatch("error", detail)} value={value?.composite || null} {label} {show_label} {show_download_button} selectable={_selectable} {show_share_button} i18n={gradio.i18n} {show_fullscreen_button} /> {:else} gradio.dispatch("clear_status", loading_status)} /> handle_history_change()} bind:image_id {crop_size} {value} bind:this={editor_instance} {root} {sources} {label} {show_label} {height} on:save={(e) => handle_save()} on:edit={() => gradio.dispatch("edit")} on:clear={() => gradio.dispatch("clear")} on:drag={({ detail }) => (dragging = detail)} on:upload={() => gradio.dispatch("upload")} on:share={({ detail }) => gradio.dispatch("share", detail)} on:error={({ detail }) => { loading_status = loading_status || {}; loading_status.status = "error"; gradio.dispatch("error", detail); }} on:error {brush} {eraser} changeable={attached_events.includes("apply")} realtime={attached_events.includes("change")} i18n={gradio.i18n} {transforms} accept_blobs={server.accept_blobs} {layers} status={loading_status?.status} upload={(...args) => gradio.client.upload(...args)} stream_handler={(...args) => gradio.client.stream(...args)} {placeholder} > {/if}