You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/ContextMenuRequested.md
+22-19Lines changed: 22 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ There currently is no method using WebView2 APIs to customize the default contex
5
5
# Description
6
6
We propose two new events for WebView2, `CoreWebView2ContextMenuRequested` that will allow developers to listen to context menus being requested by the end user in the WebView2 and `CoreWebView2CustomItemSelected` that will notify the developer that one of their inserted context menu items was selected. When a context menu is requested in WebView2, the app developer will receive:
7
7
8
-
1. The list of default ContextMenuItem objects (contains name, Descriptor, kind/type, Shorcut Desc and other properties)
8
+
1. The list of default ContextMenuItem objects (contains name, Descriptor, kind, Shortcut Desc and other properties)
9
9
2. The coordinates where the context menu was requested. For instance where the end user right clicked.
10
-
3. A selection object that will include the type of context selected, and the appropriate context menu parameter data.
10
+
3. A selection object that will include the kind of context selected, and the appropriate context menu parameter data.
11
11
12
12
and have the choice to:
13
13
@@ -68,7 +68,7 @@ The developer can add or remove entries to the default WebView context menu. For
0 commit comments