Type Definition tauri_runtime::webview::FileDropHandler[][src]

type FileDropHandler<P> = Box<dyn Fn(FileDropEvent, DetachedWindow<P>) -> bool + Send>;
Expand description

File drop handler callback Return true in the callback to block the OS’ default behavior of handling a file drop.