Hi all.
I was using the file drop ability in v1:
`const unlistener = listen("tauri://file-drop", handleFileDrop);
const handleFileDrop = async (event: any) => {
const handleDrop = (e: DragEvent) => {
const handleDragOver = (e: DragEvent) => {
const handleDragEnter = (e: DragEvent) => {
const handleDragLeave = (e: DragEvent) => {`
How can I update these to work with v2?
I've changed the import to:
import { open } from "@tauri-apps/plugin-dialog";
In my toml I've added (I use fs after dropping a file with the drop):
tauri-plugin-dialog = "2.0.0-rc.1" tauri-plugin-fs = "2.0.0-rc.2"