mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
This commit is contained in:
5
.changes/api-WebviewWindow-fileDropEnabled.md
Normal file
5
.changes/api-WebviewWindow-fileDropEnabled.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Add `fileDropEnabled` property to `WindowOptions` so you can now disable it when creating windows from js.
|
||||
@@ -1185,6 +1185,12 @@ interface WindowOptions {
|
||||
alwaysOnTop?: boolean
|
||||
/** Whether or not the window icon should be added to the taskbar. */
|
||||
skipTaskbar?: boolean
|
||||
/**
|
||||
* Whether the file drop is enabled or not on the webview. By default it is enabled.
|
||||
*
|
||||
* Disabling it is required to use drag and drop on the frontend on Windows.
|
||||
*/
|
||||
fileDropEnabled?: boolean
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user