mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-30 21:59:36 +02:00
Fix example for newer tauri version
`onDragDropEvent` -> `onFileDropEvent`
This commit is contained in:
1 file changed
+1
-1
@@ -36,7 +36,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
getCurrentWebview().onDragDropEvent((event) => {
|
||||
getCurrentWebview().onFileDropEvent((event) => {
|
||||
onMessage(`File drop: ${JSON.stringify(event.payload)}`);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user