Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/Unity-Technologies/electron.git
π Add 'accept-first-mouse' to docs.
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
b1bb4d911f
ΠΠΎΠΌΠΌΠΈΡ
cdf6f3ade9
|
@ -43,6 +43,8 @@ You can also create a window without chrome by using
|
||||||
[Frameless Window](frameless-window.md)
|
[Frameless Window](frameless-window.md)
|
||||||
* `node-integration` String - Can be `all`, `except-iframe`,
|
* `node-integration` String - Can be `all`, `except-iframe`,
|
||||||
`manual-enable-iframe` or `disable`.
|
`manual-enable-iframe` or `disable`.
|
||||||
|
* `accept-first-mouse` Boolean - Whether the web view accepts a single
|
||||||
|
mouse-down event that simultaneously activates the window
|
||||||
|
|
||||||
Creates a new `BrowserWindow` with native properties set by the `options`.
|
Creates a new `BrowserWindow` with native properties set by the `options`.
|
||||||
Usually you only need to set the `width` and `height`, other properties will
|
Usually you only need to set the `width` and `height`, other properties will
|
||||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅