electron 36.0.0-beta.1 → 36.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +58 -32
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v36.0.0-beta.
|
|
3
|
-
"chromedriver-v36.0.0-beta.
|
|
4
|
-
"chromedriver-v36.0.0-beta.
|
|
5
|
-
"chromedriver-v36.0.0-beta.
|
|
6
|
-
"chromedriver-v36.0.0-beta.
|
|
7
|
-
"chromedriver-v36.0.0-beta.
|
|
8
|
-
"chromedriver-v36.0.0-beta.
|
|
9
|
-
"chromedriver-v36.0.0-beta.
|
|
10
|
-
"chromedriver-v36.0.0-beta.
|
|
11
|
-
"chromedriver-v36.0.0-beta.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v36.0.0-beta.
|
|
14
|
-
"electron-v36.0.0-beta.
|
|
15
|
-
"electron-v36.0.0-beta.
|
|
16
|
-
"electron-v36.0.0-beta.
|
|
17
|
-
"electron-v36.0.0-beta.
|
|
18
|
-
"electron-v36.0.0-beta.
|
|
19
|
-
"electron-v36.0.0-beta.
|
|
20
|
-
"electron-v36.0.0-beta.
|
|
21
|
-
"electron-v36.0.0-beta.
|
|
22
|
-
"electron-v36.0.0-beta.
|
|
23
|
-
"electron-v36.0.0-beta.
|
|
24
|
-
"electron-v36.0.0-beta.
|
|
25
|
-
"electron-v36.0.0-beta.
|
|
26
|
-
"electron-v36.0.0-beta.
|
|
27
|
-
"electron-v36.0.0-beta.
|
|
28
|
-
"electron-v36.0.0-beta.
|
|
29
|
-
"electron-v36.0.0-beta.
|
|
30
|
-
"electron-v36.0.0-beta.
|
|
31
|
-
"electron-v36.0.0-beta.
|
|
32
|
-
"electron-v36.0.0-beta.
|
|
33
|
-
"electron-v36.0.0-beta.
|
|
34
|
-
"electron-v36.0.0-beta.
|
|
35
|
-
"electron-v36.0.0-beta.
|
|
36
|
-
"electron-v36.0.0-beta.
|
|
37
|
-
"electron-v36.0.0-beta.
|
|
38
|
-
"electron-v36.0.0-beta.
|
|
39
|
-
"electron-v36.0.0-beta.
|
|
40
|
-
"electron-v36.0.0-beta.
|
|
41
|
-
"electron-v36.0.0-beta.
|
|
42
|
-
"electron-v36.0.0-beta.
|
|
43
|
-
"electron-v36.0.0-beta.
|
|
44
|
-
"electron-v36.0.0-beta.
|
|
45
|
-
"electron-v36.0.0-beta.
|
|
46
|
-
"electron-v36.0.0-beta.
|
|
47
|
-
"electron-v36.0.0-beta.
|
|
48
|
-
"electron-v36.0.0-beta.
|
|
49
|
-
"electron-v36.0.0-beta.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v36.0.0-beta.
|
|
52
|
-
"ffmpeg-v36.0.0-beta.
|
|
53
|
-
"ffmpeg-v36.0.0-beta.
|
|
54
|
-
"ffmpeg-v36.0.0-beta.
|
|
55
|
-
"ffmpeg-v36.0.0-beta.
|
|
56
|
-
"ffmpeg-v36.0.0-beta.
|
|
57
|
-
"ffmpeg-v36.0.0-beta.
|
|
58
|
-
"ffmpeg-v36.0.0-beta.
|
|
59
|
-
"ffmpeg-v36.0.0-beta.
|
|
60
|
-
"ffmpeg-v36.0.0-beta.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v36.0.0-beta.
|
|
63
|
-
"libcxx-objects-v36.0.0-beta.
|
|
64
|
-
"libcxx-objects-v36.0.0-beta.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v36.0.0-beta.
|
|
68
|
-
"mksnapshot-v36.0.0-beta.
|
|
69
|
-
"mksnapshot-v36.0.0-beta.
|
|
70
|
-
"mksnapshot-v36.0.0-beta.
|
|
71
|
-
"mksnapshot-v36.0.0-beta.
|
|
72
|
-
"mksnapshot-v36.0.0-beta.
|
|
73
|
-
"mksnapshot-v36.0.0-beta.
|
|
74
|
-
"mksnapshot-v36.0.0-beta.
|
|
75
|
-
"mksnapshot-v36.0.0-beta.
|
|
76
|
-
"mksnapshot-v36.0.0-beta.
|
|
2
|
+
"chromedriver-v36.0.0-beta.3-darwin-arm64.zip": "98b01e8bc41252f86992411ebc8fcdc23e7e8693a4e53feb1c20aeca77395c1c",
|
|
3
|
+
"chromedriver-v36.0.0-beta.3-darwin-x64.zip": "abe8a49f7568d5555ea7ab3e8692165bf8ce7031288e8578ddd80eb328359078",
|
|
4
|
+
"chromedriver-v36.0.0-beta.3-linux-arm64.zip": "4891118fcf218ad0925178e5ee24523f23fa8fc56f3b5591bf54672b6c0e15b3",
|
|
5
|
+
"chromedriver-v36.0.0-beta.3-linux-armv7l.zip": "6bc9cc221f34e8a61d1bf6ef60fff305939f701d7e538d8ce485fc1a4c440704",
|
|
6
|
+
"chromedriver-v36.0.0-beta.3-linux-x64.zip": "5f768487fade79a802334cdc041d86a26e89f66ce8b599bc1dd7eb04a0914d1e",
|
|
7
|
+
"chromedriver-v36.0.0-beta.3-mas-arm64.zip": "09e1e711ad6308fd03a0bf7be1ec99f617fd2e53443fa3636fadf7f0fb97baae",
|
|
8
|
+
"chromedriver-v36.0.0-beta.3-mas-x64.zip": "63661f258a876638e4d21fd7aa02f958d1481191428ea947714efdc994636c20",
|
|
9
|
+
"chromedriver-v36.0.0-beta.3-win32-arm64.zip": "9431e893d9885c258f19ac7ae3ba735e2432635ff46a326a6eb9c71a7f5dcef9",
|
|
10
|
+
"chromedriver-v36.0.0-beta.3-win32-ia32.zip": "164b7d9be86d8c352202168d1f59baf3cca8cece2ca3ee5809be2510a143735e",
|
|
11
|
+
"chromedriver-v36.0.0-beta.3-win32-x64.zip": "3c2bca155004637882443926aa32a18b396eb4a1658a08158e216f0c5e176615",
|
|
12
|
+
"electron-api.json": "cfca85bc737cae9a133181e91c74b7c7512445f4def6ef80b1a1cf7bdeeaf264",
|
|
13
|
+
"electron-v36.0.0-beta.3-darwin-arm64-dsym-snapshot.zip": "75874857ed4f6a7899a755039212c595fdc66ed2ec3c80b06322df1b42cd4ce3",
|
|
14
|
+
"electron-v36.0.0-beta.3-darwin-arm64-dsym.zip": "74ada56f0958249b540332c8022768f4f2ccf64c719fb7cb6c53063c76a92a1f",
|
|
15
|
+
"electron-v36.0.0-beta.3-darwin-arm64-symbols.zip": "b3631a719c72c14f354e2d9b848cfe10010fc43489edbfe080a9720169cb863a",
|
|
16
|
+
"electron-v36.0.0-beta.3-darwin-arm64.zip": "afeab72456317f26e1fff3bb7352bfae3e894a0af3b3d188af1ec5cb71a5fa1b",
|
|
17
|
+
"electron-v36.0.0-beta.3-darwin-x64-dsym-snapshot.zip": "8536c7466c3aa1678eec309a8b36f4a45aaa4054348040f336087b0a90108ae4",
|
|
18
|
+
"electron-v36.0.0-beta.3-darwin-x64-dsym.zip": "dcd7e62c7982051406fcc6506fdebf1cee89315b92e2098abb4ec0bf28db4b61",
|
|
19
|
+
"electron-v36.0.0-beta.3-darwin-x64-symbols.zip": "a4799dc224b633c1acc69cd14bdddfc6419a2fbfb8e4aeac3e74997a4ff80279",
|
|
20
|
+
"electron-v36.0.0-beta.3-darwin-x64.zip": "9d6ad8f16c59382ef12d72fe9540c408e999d562b3d6eef0035fc87fb3e04c3d",
|
|
21
|
+
"electron-v36.0.0-beta.3-linux-arm64-debug.zip": "a832011c4387238040f9a1cd4c90c79f6030144c137b1f8785b034b2bdb0b1e3",
|
|
22
|
+
"electron-v36.0.0-beta.3-linux-arm64-symbols.zip": "7f2b00e1bfa80b7ac03b69d898958b4a84716d2befb92bd5d384c6310254b050",
|
|
23
|
+
"electron-v36.0.0-beta.3-linux-arm64.zip": "f6cc22f1221de586aa4e09d3127c6e7d5fd9e4b450bbbb11d447c2a6d9535afe",
|
|
24
|
+
"electron-v36.0.0-beta.3-linux-armv7l-debug.zip": "a832011c4387238040f9a1cd4c90c79f6030144c137b1f8785b034b2bdb0b1e3",
|
|
25
|
+
"electron-v36.0.0-beta.3-linux-armv7l-symbols.zip": "c16a02a2c2230ba9d5d6af916c9e6ab2fb8560be120d689b72981e43434bbe02",
|
|
26
|
+
"electron-v36.0.0-beta.3-linux-armv7l.zip": "43c6177bd1dad73713483fceab075e2013dfdc8ffb94bc30c016c78c53a2d761",
|
|
27
|
+
"electron-v36.0.0-beta.3-linux-x64-debug.zip": "82b01983d0a559fabcb572ec397873842b7848ffb3076d5049b42dd98ef1cb78",
|
|
28
|
+
"electron-v36.0.0-beta.3-linux-x64-symbols.zip": "f45d0be4a821da787434fa969dffefebe2b8ad0a1187a4c201765dbda8b3d501",
|
|
29
|
+
"electron-v36.0.0-beta.3-linux-x64.zip": "72ffd1f5baf1480dd4a0a4ee301354501f199280caff94c69740bf3ee15df89b",
|
|
30
|
+
"electron-v36.0.0-beta.3-mas-arm64-dsym-snapshot.zip": "5d1eb289199dec5de99a25bfc656b4b4d8c6d5d0693cbf25cd72af98e6b25099",
|
|
31
|
+
"electron-v36.0.0-beta.3-mas-arm64-dsym.zip": "8960a524af2b5cdfd2eb7750ccd3664c6dc0554e1de34d05898b2d9affab1772",
|
|
32
|
+
"electron-v36.0.0-beta.3-mas-arm64-symbols.zip": "1a56400f12f0244463021facd1df55e1d1780d55e11017b0d0ffacca4a586938",
|
|
33
|
+
"electron-v36.0.0-beta.3-mas-arm64.zip": "bd45adceb711d73267c46a77a7716796ed392ee91004d4021d9e03b84475beb7",
|
|
34
|
+
"electron-v36.0.0-beta.3-mas-x64-dsym-snapshot.zip": "39e3692a9e74e5480952577245309ce47f370617ef40158873d5f6599eddd42f",
|
|
35
|
+
"electron-v36.0.0-beta.3-mas-x64-dsym.zip": "f602d3dd1d6b77aeccfd1d64557b97c63df37e236919f9214f1801233ab0cd5f",
|
|
36
|
+
"electron-v36.0.0-beta.3-mas-x64-symbols.zip": "09d1d085a0dcd6ff456d57a900b899cf178415cd29ea00e39552e711e629ec25",
|
|
37
|
+
"electron-v36.0.0-beta.3-mas-x64.zip": "802413a14d3384d74d3ecc480a4a648cb52070f9d0ca19f87a1eefa4384f490f",
|
|
38
|
+
"electron-v36.0.0-beta.3-win32-arm64-pdb.zip": "388682950d0f4538c61202d720d7d5642bbb67c9ee1f3599c1c6269e100b9bf4",
|
|
39
|
+
"electron-v36.0.0-beta.3-win32-arm64-symbols.zip": "694f0a30fe4d626f5b7e01d050e20c6eeefdc1e404d6b368ef6ab751a4e13ede",
|
|
40
|
+
"electron-v36.0.0-beta.3-win32-arm64-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
|
|
41
|
+
"electron-v36.0.0-beta.3-win32-arm64.zip": "fe68492e6bf6ee975ec37c8c2b19ccbf745371b3c9a458238f8bdbc13d78e3d6",
|
|
42
|
+
"electron-v36.0.0-beta.3-win32-ia32-pdb.zip": "702bd9a3ef17f9e4f17afeeafd7df3f3aec9a09f59d9418938418207a6424a82",
|
|
43
|
+
"electron-v36.0.0-beta.3-win32-ia32-symbols.zip": "84d106f88f3f7867e00d0e079f8644093ba59c737fac202b9a8251ef583186b4",
|
|
44
|
+
"electron-v36.0.0-beta.3-win32-ia32-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
|
|
45
|
+
"electron-v36.0.0-beta.3-win32-ia32.zip": "2eb797e46091986f7fe5bc7c8002986a031bfb254561283d67cb6cfa807e1cd8",
|
|
46
|
+
"electron-v36.0.0-beta.3-win32-x64-pdb.zip": "ac5053fbdda7f3dd533d1137b3b2d20b1763a7f75df76d03a12099d764e45ba2",
|
|
47
|
+
"electron-v36.0.0-beta.3-win32-x64-symbols.zip": "18703cf6952770575776f1373bd99e38609b655eab59b2e1e0e383bb7c4237b3",
|
|
48
|
+
"electron-v36.0.0-beta.3-win32-x64-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
|
|
49
|
+
"electron-v36.0.0-beta.3-win32-x64.zip": "4a520a9af21916010a93ded378430f6c5a49d6524e1d8a1c35cdd46fcfcff66a",
|
|
50
|
+
"electron.d.ts": "de08985786b5249b0b0497f953822b741ac02a0e4f7be20cdf5c8f5b688b0a49",
|
|
51
|
+
"ffmpeg-v36.0.0-beta.3-darwin-arm64.zip": "06dbfb65428907c3d505f5e617dc998b1c062cf0009be930d95f7c0e7b9fa39e",
|
|
52
|
+
"ffmpeg-v36.0.0-beta.3-darwin-x64.zip": "5537939073b381e94867eed1f7b6e6a3ae6071c4e86e523c3573bedc45e03566",
|
|
53
|
+
"ffmpeg-v36.0.0-beta.3-linux-arm64.zip": "194ca2124c1d2f451ff4c760db3de74df67a9ea16d695e895e3eaf3d2d5e5902",
|
|
54
|
+
"ffmpeg-v36.0.0-beta.3-linux-armv7l.zip": "e7a5b8975e21f19380f3783714a75afcbcb6adc81bf9cad83e166fbf55b3c9dd",
|
|
55
|
+
"ffmpeg-v36.0.0-beta.3-linux-x64.zip": "173bc365c032b878a451729a1f720182d9ddd0681ceeb4252f7ad4b1b4ae2d4b",
|
|
56
|
+
"ffmpeg-v36.0.0-beta.3-mas-arm64.zip": "06dbfb65428907c3d505f5e617dc998b1c062cf0009be930d95f7c0e7b9fa39e",
|
|
57
|
+
"ffmpeg-v36.0.0-beta.3-mas-x64.zip": "5537939073b381e94867eed1f7b6e6a3ae6071c4e86e523c3573bedc45e03566",
|
|
58
|
+
"ffmpeg-v36.0.0-beta.3-win32-arm64.zip": "559a3ee1b9938464f3ad25b3967232474c2a5a8c1dd0b3bb6726e60cab707e0b",
|
|
59
|
+
"ffmpeg-v36.0.0-beta.3-win32-ia32.zip": "559a3ee1b9938464f3ad25b3967232474c2a5a8c1dd0b3bb6726e60cab707e0b",
|
|
60
|
+
"ffmpeg-v36.0.0-beta.3-win32-x64.zip": "559a3ee1b9938464f3ad25b3967232474c2a5a8c1dd0b3bb6726e60cab707e0b",
|
|
61
|
+
"hunspell_dictionaries.zip": "33b4f5015974a94336634a3f2100fac41e63d11a51c241652ddd7e04c3fdd860",
|
|
62
|
+
"libcxx-objects-v36.0.0-beta.3-linux-arm64.zip": "c5baab2f44dcceb175c88c87d3aae3189643fbfba60680652dd5ae9fa5e03f19",
|
|
63
|
+
"libcxx-objects-v36.0.0-beta.3-linux-armv7l.zip": "7393114ccc03f1c6032f24e87979f96b0a0fe38cec5c467ac8b881be4d44e9b9",
|
|
64
|
+
"libcxx-objects-v36.0.0-beta.3-linux-x64.zip": "930e9c614b613f214cead429bdfe57f5dea229bc508cbf0a1b352847807181a0",
|
|
65
|
+
"libcxx_headers.zip": "9891eb9200f05cc3200c1804d9f2f189b293b1bd25967d07635d929e1cba934a",
|
|
66
|
+
"libcxxabi_headers.zip": "c05e5c93f2b9f63b94180b6b4ca46711ced970bb189e06efd1879c90394e5d78",
|
|
67
|
+
"mksnapshot-v36.0.0-beta.3-darwin-arm64.zip": "02b7f0c3aa702490d3de9fdb1c6ea6277886bcde86f8b72039a44e2b93c20408",
|
|
68
|
+
"mksnapshot-v36.0.0-beta.3-darwin-x64.zip": "5085bc4a7791c1c90bf9dbc986ef34c1fc0c688999b6030f90e3baf575ddfa61",
|
|
69
|
+
"mksnapshot-v36.0.0-beta.3-linux-arm64-x64.zip": "1893d246115bf104e895336f6dd2ae41737eb4cf4b9a403df12189423102b224",
|
|
70
|
+
"mksnapshot-v36.0.0-beta.3-linux-armv7l-x64.zip": "488205636b4e860a48d65df06e048dfad22636fd27c79e143a2021fda52f9af2",
|
|
71
|
+
"mksnapshot-v36.0.0-beta.3-linux-x64.zip": "c46a6b051bb3a889e3b04e2bec8aefbc70b4db64d7be27fe178ed169b830093d",
|
|
72
|
+
"mksnapshot-v36.0.0-beta.3-mas-arm64.zip": "7f560657eaeff38f65a3f54de0e19c1af54227b6c7de2d5c594c631835224a63",
|
|
73
|
+
"mksnapshot-v36.0.0-beta.3-mas-x64.zip": "70c44b5074360bf4d25f1cd8e10be4c75c62bc5b48e33fc17f4be8a71925b649",
|
|
74
|
+
"mksnapshot-v36.0.0-beta.3-win32-arm64-x64.zip": "c4743b762540a9d41093974e96e3d65d591221927bcb488bff98446f90d091bc",
|
|
75
|
+
"mksnapshot-v36.0.0-beta.3-win32-ia32.zip": "859769045e2bbd966aa171c9691d0f551a023b9bcd43bb3baa56923e9e53a94e",
|
|
76
|
+
"mksnapshot-v36.0.0-beta.3-win32-x64.zip": "b46b5ebef3910d71ca45bfccda5e95c30c9b02f17d566f5e86637e58b17a29b6"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 36.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 36.0.0-beta.3
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -2355,43 +2355,45 @@ declare namespace Electron {
|
|
|
2355
2355
|
*
|
|
2356
2356
|
* Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
2357
2357
|
*
|
|
2358
|
-
*
|
|
2358
|
+
* To convert `point` to DIP, use `screen.screenToDipPoint(point)`.
|
|
2359
|
+
*
|
|
2360
|
+
* @platform win32,linux
|
|
2359
2361
|
*/
|
|
2360
2362
|
on(event: 'system-context-menu', listener: (event: Event,
|
|
2361
2363
|
/**
|
|
2362
|
-
* The screen coordinates the context menu was triggered
|
|
2364
|
+
* The screen coordinates where the context menu was triggered.
|
|
2363
2365
|
*/
|
|
2364
2366
|
point: Point) => void): this;
|
|
2365
2367
|
/**
|
|
2366
|
-
* @platform win32
|
|
2368
|
+
* @platform win32,linux
|
|
2367
2369
|
*/
|
|
2368
2370
|
off(event: 'system-context-menu', listener: (event: Event,
|
|
2369
2371
|
/**
|
|
2370
|
-
* The screen coordinates the context menu was triggered
|
|
2372
|
+
* The screen coordinates where the context menu was triggered.
|
|
2371
2373
|
*/
|
|
2372
2374
|
point: Point) => void): this;
|
|
2373
2375
|
/**
|
|
2374
|
-
* @platform win32
|
|
2376
|
+
* @platform win32,linux
|
|
2375
2377
|
*/
|
|
2376
2378
|
once(event: 'system-context-menu', listener: (event: Event,
|
|
2377
2379
|
/**
|
|
2378
|
-
* The screen coordinates the context menu was triggered
|
|
2380
|
+
* The screen coordinates where the context menu was triggered.
|
|
2379
2381
|
*/
|
|
2380
2382
|
point: Point) => void): this;
|
|
2381
2383
|
/**
|
|
2382
|
-
* @platform win32
|
|
2384
|
+
* @platform win32,linux
|
|
2383
2385
|
*/
|
|
2384
2386
|
addListener(event: 'system-context-menu', listener: (event: Event,
|
|
2385
2387
|
/**
|
|
2386
|
-
* The screen coordinates the context menu was triggered
|
|
2388
|
+
* The screen coordinates where the context menu was triggered.
|
|
2387
2389
|
*/
|
|
2388
2390
|
point: Point) => void): this;
|
|
2389
2391
|
/**
|
|
2390
|
-
* @platform win32
|
|
2392
|
+
* @platform win32,linux
|
|
2391
2393
|
*/
|
|
2392
2394
|
removeListener(event: 'system-context-menu', listener: (event: Event,
|
|
2393
2395
|
/**
|
|
2394
|
-
* The screen coordinates the context menu was triggered
|
|
2396
|
+
* The screen coordinates where the context menu was triggered.
|
|
2395
2397
|
*/
|
|
2396
2398
|
point: Point) => void): this;
|
|
2397
2399
|
/**
|
|
@@ -4768,43 +4770,45 @@ declare namespace Electron {
|
|
|
4768
4770
|
*
|
|
4769
4771
|
* Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
4770
4772
|
*
|
|
4771
|
-
*
|
|
4773
|
+
* To convert `point` to DIP, use `screen.screenToDipPoint(point)`.
|
|
4774
|
+
*
|
|
4775
|
+
* @platform win32,linux
|
|
4772
4776
|
*/
|
|
4773
4777
|
on(event: 'system-context-menu', listener: (event: Event,
|
|
4774
4778
|
/**
|
|
4775
|
-
* The screen coordinates the context menu was triggered
|
|
4779
|
+
* The screen coordinates where the context menu was triggered.
|
|
4776
4780
|
*/
|
|
4777
4781
|
point: Point) => void): this;
|
|
4778
4782
|
/**
|
|
4779
|
-
* @platform win32
|
|
4783
|
+
* @platform win32,linux
|
|
4780
4784
|
*/
|
|
4781
4785
|
off(event: 'system-context-menu', listener: (event: Event,
|
|
4782
4786
|
/**
|
|
4783
|
-
* The screen coordinates the context menu was triggered
|
|
4787
|
+
* The screen coordinates where the context menu was triggered.
|
|
4784
4788
|
*/
|
|
4785
4789
|
point: Point) => void): this;
|
|
4786
4790
|
/**
|
|
4787
|
-
* @platform win32
|
|
4791
|
+
* @platform win32,linux
|
|
4788
4792
|
*/
|
|
4789
4793
|
once(event: 'system-context-menu', listener: (event: Event,
|
|
4790
4794
|
/**
|
|
4791
|
-
* The screen coordinates the context menu was triggered
|
|
4795
|
+
* The screen coordinates where the context menu was triggered.
|
|
4792
4796
|
*/
|
|
4793
4797
|
point: Point) => void): this;
|
|
4794
4798
|
/**
|
|
4795
|
-
* @platform win32
|
|
4799
|
+
* @platform win32,linux
|
|
4796
4800
|
*/
|
|
4797
4801
|
addListener(event: 'system-context-menu', listener: (event: Event,
|
|
4798
4802
|
/**
|
|
4799
|
-
* The screen coordinates the context menu was triggered
|
|
4803
|
+
* The screen coordinates where the context menu was triggered.
|
|
4800
4804
|
*/
|
|
4801
4805
|
point: Point) => void): this;
|
|
4802
4806
|
/**
|
|
4803
|
-
* @platform win32
|
|
4807
|
+
* @platform win32,linux
|
|
4804
4808
|
*/
|
|
4805
4809
|
removeListener(event: 'system-context-menu', listener: (event: Event,
|
|
4806
4810
|
/**
|
|
4807
|
-
* The screen coordinates the context menu was triggered
|
|
4811
|
+
* The screen coordinates where the context menu was triggered.
|
|
4808
4812
|
*/
|
|
4809
4813
|
point: Point) => void): this;
|
|
4810
4814
|
/**
|
|
@@ -4815,43 +4819,45 @@ declare namespace Electron {
|
|
|
4815
4819
|
*
|
|
4816
4820
|
* Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
4817
4821
|
*
|
|
4818
|
-
*
|
|
4822
|
+
* To convert `point` to DIP, use `screen.screenToDipPoint(point)`.
|
|
4823
|
+
*
|
|
4824
|
+
* @platform win32,linux
|
|
4819
4825
|
*/
|
|
4820
4826
|
on(event: 'system-context-menu', listener: (event: Event,
|
|
4821
4827
|
/**
|
|
4822
|
-
* The screen coordinates the context menu was triggered
|
|
4828
|
+
* The screen coordinates where the context menu was triggered.
|
|
4823
4829
|
*/
|
|
4824
4830
|
point: Point) => void): this;
|
|
4825
4831
|
/**
|
|
4826
|
-
* @platform win32
|
|
4832
|
+
* @platform win32,linux
|
|
4827
4833
|
*/
|
|
4828
4834
|
off(event: 'system-context-menu', listener: (event: Event,
|
|
4829
4835
|
/**
|
|
4830
|
-
* The screen coordinates the context menu was triggered
|
|
4836
|
+
* The screen coordinates where the context menu was triggered.
|
|
4831
4837
|
*/
|
|
4832
4838
|
point: Point) => void): this;
|
|
4833
4839
|
/**
|
|
4834
|
-
* @platform win32
|
|
4840
|
+
* @platform win32,linux
|
|
4835
4841
|
*/
|
|
4836
4842
|
once(event: 'system-context-menu', listener: (event: Event,
|
|
4837
4843
|
/**
|
|
4838
|
-
* The screen coordinates the context menu was triggered
|
|
4844
|
+
* The screen coordinates where the context menu was triggered.
|
|
4839
4845
|
*/
|
|
4840
4846
|
point: Point) => void): this;
|
|
4841
4847
|
/**
|
|
4842
|
-
* @platform win32
|
|
4848
|
+
* @platform win32,linux
|
|
4843
4849
|
*/
|
|
4844
4850
|
addListener(event: 'system-context-menu', listener: (event: Event,
|
|
4845
4851
|
/**
|
|
4846
|
-
* The screen coordinates the context menu was triggered
|
|
4852
|
+
* The screen coordinates where the context menu was triggered.
|
|
4847
4853
|
*/
|
|
4848
4854
|
point: Point) => void): this;
|
|
4849
4855
|
/**
|
|
4850
|
-
* @platform win32
|
|
4856
|
+
* @platform win32,linux
|
|
4851
4857
|
*/
|
|
4852
4858
|
removeListener(event: 'system-context-menu', listener: (event: Event,
|
|
4853
4859
|
/**
|
|
4854
|
-
* The screen coordinates the context menu was triggered
|
|
4860
|
+
* The screen coordinates where the context menu was triggered.
|
|
4855
4861
|
*/
|
|
4856
4862
|
point: Point) => void): this;
|
|
4857
4863
|
/**
|
|
@@ -6703,6 +6709,10 @@ declare namespace Electron {
|
|
|
6703
6709
|
/**
|
|
6704
6710
|
* The command-line switch value.
|
|
6705
6711
|
*
|
|
6712
|
+
* This function is meant to obtain Chromium command line switches. It is not meant
|
|
6713
|
+
* to be used for application-specific command line arguments. For the latter,
|
|
6714
|
+
* please use `process.argv`.
|
|
6715
|
+
*
|
|
6706
6716
|
* **Note:** When the switch is not present or has no value, it returns empty
|
|
6707
6717
|
* string.
|
|
6708
6718
|
*/
|
|
@@ -14592,6 +14602,10 @@ declare namespace Electron {
|
|
|
14592
14602
|
|
|
14593
14603
|
// Docs: https://electronjs.org/docs/api/utility-process
|
|
14594
14604
|
|
|
14605
|
+
/**
|
|
14606
|
+
* **Note:** `utilityProcess.fork` can only be called after the `ready` event has
|
|
14607
|
+
* been emitted on `App`.
|
|
14608
|
+
*/
|
|
14595
14609
|
static fork(modulePath: string, args?: string[], options?: ForkOptions): UtilityProcess;
|
|
14596
14610
|
/**
|
|
14597
14611
|
* Emitted when the child process needs to terminate due to non continuable error
|
|
@@ -18022,6 +18036,12 @@ declare namespace Electron {
|
|
|
18022
18036
|
* RuntimeEnabledFeatures.json5 file.
|
|
18023
18037
|
*/
|
|
18024
18038
|
enableBlinkFeatures?: string;
|
|
18039
|
+
/**
|
|
18040
|
+
* Whether the `-electron-corner-smoothing` CSS rule is enabled. Default is `true`.
|
|
18041
|
+
*
|
|
18042
|
+
* @experimental
|
|
18043
|
+
*/
|
|
18044
|
+
enableCornerSmoothingCSS?: boolean;
|
|
18025
18045
|
/**
|
|
18026
18046
|
* Whether to enable the `paste` execCommand. Default is `false`.
|
|
18027
18047
|
*
|
|
@@ -21426,6 +21446,12 @@ declare namespace Electron {
|
|
|
21426
21446
|
* Default is the focused window.
|
|
21427
21447
|
*/
|
|
21428
21448
|
window?: BaseWindow;
|
|
21449
|
+
/**
|
|
21450
|
+
* Provide the relevant frame if you want certain OS-level features such as Writing
|
|
21451
|
+
* Tools on macOS to function correctly. Typically, this should be `params.frame`
|
|
21452
|
+
* from the `context-menu` event on a WebContents.
|
|
21453
|
+
*/
|
|
21454
|
+
frame?: WebFrameMain;
|
|
21429
21455
|
/**
|
|
21430
21456
|
* Default is the current mouse cursor position. Must be declared if `y` is
|
|
21431
21457
|
* declared.
|
|
@@ -22125,7 +22151,7 @@ declare namespace Electron {
|
|
|
22125
22151
|
* The CSS color of the symbols on the Window Controls Overlay when enabled.
|
|
22126
22152
|
* Default is the system color.
|
|
22127
22153
|
*
|
|
22128
|
-
* @platform win32
|
|
22154
|
+
* @platform win32,linux
|
|
22129
22155
|
*/
|
|
22130
22156
|
symbolColor?: string;
|
|
22131
22157
|
/**
|
package/package.json
CHANGED