Mouse forward on macOS (#12281)
* Accept mouse events according to the forward parameter on macOS. * Update BrowserWindow docs: mouse forward is available on macOS
This commit is contained in:
parent
0e5aaab0b5
commit
6b5e09478c
3 changed files with 17 additions and 5 deletions
|
@ -1382,10 +1382,10 @@ Returns `Boolean` - Whether the window is visible on all workspaces.
|
|||
|
||||
* `ignore` Boolean
|
||||
* `options` Object (optional)
|
||||
* `forward` Boolean (optional) _Windows_ - If true, forwards mouse move
|
||||
* `forward` Boolean (optional) _macOS_ _Windows_ - If true, forwards mouse move
|
||||
messages to Chromium, enabling mouse related events such as `mouseleave`.
|
||||
Only used when `ignore` is true. If `ignore` is false, forwarding is always
|
||||
disabled regardless of this value.
|
||||
Only used when `ignore` is true. If `ignore` is false, forwarding is always
|
||||
disabled regardless of this value.
|
||||
|
||||
Makes the window ignore all mouse events.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue