We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fileDropEnabled
WindowOptions
1 parent 875c35e commit 1bfc32aCopy full SHA for 1bfc32a
2 files changed
.changes/api-WebviewWindow-fileDropEnabled.md
@@ -0,0 +1,5 @@
1
+---
2
+"api": patch
3
4
+
5
+Add `fileDropEnabled` property to `WindowOptions` so you can now disable it when creating windows from js.
tooling/api/src/window.ts
@@ -1185,6 +1185,12 @@ interface WindowOptions {
1185
alwaysOnTop?: boolean
1186
/** Whether or not the window icon should be added to the taskbar. */
1187
skipTaskbar?: boolean
1188
+ /**
1189
+ * Whether the file drop is enabled or not on the webview. By default it is enabled.
1190
+ *
1191
+ * Disabling it is required to use drag and drop on the frontend on Windows.
1192
+ */
1193
+ fileDropEnabled?: boolean
1194
}
1195
1196
/**
0 commit comments