Merge pull request #8409 from javan/add-context-menu-event-to-webview
Add "context-menu" DOM event to <webview>
This commit is contained in:
commit
9089d55342
2 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ const supportedWebViewEvents = [
|
|||
'did-get-redirect-request',
|
||||
'dom-ready',
|
||||
'console-message',
|
||||
'context-menu',
|
||||
'devtools-opened',
|
||||
'devtools-closed',
|
||||
'devtools-focused',
|
||||
|
|
|
@ -16,6 +16,7 @@ const WEB_VIEW_EVENTS = {
|
|||
'did-get-redirect-request': ['oldURL', 'newURL', 'isMainFrame'],
|
||||
'dom-ready': [],
|
||||
'console-message': ['level', 'message', 'line', 'sourceId'],
|
||||
'context-menu': ['params'],
|
||||
'devtools-opened': [],
|
||||
'devtools-closed': [],
|
||||
'devtools-focused': [],
|
||||
|
|
Loading…
Reference in a new issue