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

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

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