mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v2, options] Add EnableDefaultContextMenu option (#2733)
* [v2, options] Add EnableDefaultContextMenu option * Update changelog & docs * go mod tidy (./v2) --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
co-authored by
Lea Anthony
parent
07c971476d
commit
4162f097f1
@@ -70,6 +70,10 @@ type App struct {
|
||||
// The CSS Value that the CSSDragProperty must have to be draggable, EG: "drag"
|
||||
CSSDragValue string
|
||||
|
||||
// EnableDefaultContextMenu enables the browser's default context-menu in production
|
||||
// This menu is already enabled in development, as well as in debug builds and production builds with the `-devtools` flag
|
||||
EnableDefaultContextMenu bool
|
||||
|
||||
// EnableFraudulentWebsiteDetection enables scan services for fraudulent content, such as malware or phishing attempts.
|
||||
// These services might send information from your app like URLs navigated to and possibly other content to cloud
|
||||
// services of Apple and Microsoft.
|
||||
|
||||
Reference in New Issue
Block a user