Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
APshenkin committed Feb 11, 2024
1 parent a08f77d commit a0a3e91
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions website/docs/reference/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ func main() {
UniqueId: "c9c8fd93-6758-4144-87d1-34bdb0a8bd60",
OnSecondInstanceLaunch: app.onSecondInstanceLaunch,
},
DragAndDrop: options.DragAndDrop{
EnableFileDrop: false,
Disable: false,
CSSDropProperty: "--wails-drop-target",
CSSDropValue: "drop",
},
DragAndDrop: &options.DragAndDrop{
EnableFileDrop: false,
Disable: false,
CSSDropProperty: "--wails-drop-target",
CSSDropValue: "drop",
},
Windows: &windows.Options{
WebviewIsTransparent: false,
WindowIsTranslucent: false,
Expand Down Expand Up @@ -561,13 +561,13 @@ Name: EnableFileDrop<br/>
Type: `bool`<br/>
Default: `false`

#### Disable
#### DisableWebViewDrop

Disables the webview's drag and drop functionality.

It can be used to prevent accidental opening of dragged in files in the webview, when there is no need for drag and drop.

Name: Disable<br/>
Name: DisableWebViewDrop<br/>
Type: `bool`<br/>
Default: `false`

Expand Down

0 comments on commit a0a3e91

Please sign in to comment.