[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:
Mohamed Gharib
2023-06-20 06:31:47 +10:00
committed by GitHub
co-authored by Lea Anthony
parent 07c971476d
commit 4162f097f1
13 changed files with 31 additions and 69 deletions
+4
View File
@@ -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.