diff --git a/examples/api/src/App.svelte b/examples/api/src/App.svelte index 2891fa1d..117afa22 100644 --- a/examples/api/src/App.svelte +++ b/examples/api/src/App.svelte @@ -36,7 +36,7 @@ }); } - getCurrentWebview().onDragDropEvent((event) => { + getCurrentWebview().onFileDropEvent((event) => { onMessage(`File drop: ${JSON.stringify(event.payload)}`); });