feat: add frame to context-menu event params (#30831)

* feat: add frame to context-menu event params

* doc: rephrase frame description
This commit is contained in:
Samuel Maddock 2021-09-21 19:52:49 -04:00 committed by GitHub
parent 52bacd38a9
commit 70c534fd14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 36 additions and 8 deletions

View file

@ -651,6 +651,7 @@ Returns:
* `params` Object
* `x` Integer - x coordinate.
* `y` Integer - y coordinate.
* `frame` WebFrameMain - Frame from which the context menu was invoked.
* `linkURL` String - URL of the link that encloses the node the context menu
was invoked on.
* `linkText` String - Text associated with the link. May be an empty