mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-07 12:26:41 +02:00
Fix example for newer tauri version
`onDragDropEvent` -> `onFileDropEvent`
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
getCurrentWebview().onDragDropEvent((event) => {
|
||||
getCurrentWebview().onFileDropEvent((event) => {
|
||||
onMessage(`File drop: ${JSON.stringify(event.payload)}`);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user