Skip to content

Commit 3c22215

Browse files
committed
add: start process dispatch
1 parent aef6fee commit 3c22215

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/Dropzone.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@
182182
dragTargetsRef = [];
183183
184184
if (isEvtWithFiles(event)) {
185+
dispatch("startprocess", {
186+
event
187+
})
185188
Promise.resolve(getFilesFromEvent(event)).then(files => {
186189
if (isPropagationStopped(event) && !noDragEventsBubbling) {
187190
return;

0 commit comments

Comments
 (0)