electron 35.2.2 → 35.4.0
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 +37 -31
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v35.
|
|
3
|
-
"chromedriver-v35.
|
|
4
|
-
"chromedriver-v35.
|
|
5
|
-
"chromedriver-v35.
|
|
6
|
-
"chromedriver-v35.
|
|
7
|
-
"chromedriver-v35.
|
|
8
|
-
"chromedriver-v35.
|
|
9
|
-
"chromedriver-v35.
|
|
10
|
-
"chromedriver-v35.
|
|
11
|
-
"chromedriver-v35.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v35.
|
|
14
|
-
"electron-v35.
|
|
15
|
-
"electron-v35.
|
|
16
|
-
"electron-v35.
|
|
17
|
-
"electron-v35.
|
|
18
|
-
"electron-v35.
|
|
19
|
-
"electron-v35.
|
|
20
|
-
"electron-v35.
|
|
21
|
-
"electron-v35.
|
|
22
|
-
"electron-v35.
|
|
23
|
-
"electron-v35.
|
|
24
|
-
"electron-v35.
|
|
25
|
-
"electron-v35.
|
|
26
|
-
"electron-v35.
|
|
27
|
-
"electron-v35.
|
|
28
|
-
"electron-v35.
|
|
29
|
-
"electron-v35.
|
|
30
|
-
"electron-v35.
|
|
31
|
-
"electron-v35.
|
|
32
|
-
"electron-v35.
|
|
33
|
-
"electron-v35.
|
|
34
|
-
"electron-v35.
|
|
35
|
-
"electron-v35.
|
|
36
|
-
"electron-v35.
|
|
37
|
-
"electron-v35.
|
|
38
|
-
"electron-v35.
|
|
39
|
-
"electron-v35.
|
|
40
|
-
"electron-v35.
|
|
41
|
-
"electron-v35.
|
|
42
|
-
"electron-v35.
|
|
43
|
-
"electron-v35.
|
|
44
|
-
"electron-v35.
|
|
45
|
-
"electron-v35.
|
|
46
|
-
"electron-v35.
|
|
47
|
-
"electron-v35.
|
|
48
|
-
"electron-v35.
|
|
49
|
-
"electron-v35.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v35.
|
|
52
|
-
"ffmpeg-v35.
|
|
53
|
-
"ffmpeg-v35.
|
|
54
|
-
"ffmpeg-v35.
|
|
55
|
-
"ffmpeg-v35.
|
|
56
|
-
"ffmpeg-v35.
|
|
57
|
-
"ffmpeg-v35.
|
|
58
|
-
"ffmpeg-v35.
|
|
59
|
-
"ffmpeg-v35.
|
|
60
|
-
"ffmpeg-v35.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v35.
|
|
63
|
-
"libcxx-objects-v35.
|
|
64
|
-
"libcxx-objects-v35.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v35.
|
|
68
|
-
"mksnapshot-v35.
|
|
69
|
-
"mksnapshot-v35.
|
|
70
|
-
"mksnapshot-v35.
|
|
71
|
-
"mksnapshot-v35.
|
|
72
|
-
"mksnapshot-v35.
|
|
73
|
-
"mksnapshot-v35.
|
|
74
|
-
"mksnapshot-v35.
|
|
75
|
-
"mksnapshot-v35.
|
|
76
|
-
"mksnapshot-v35.
|
|
2
|
+
"chromedriver-v35.4.0-darwin-arm64.zip": "d58fb1a4db780585461df9c85fbc6c37247986220dd1185608ef2c51bb4d458b",
|
|
3
|
+
"chromedriver-v35.4.0-darwin-x64.zip": "5ac2f8865fff4bb4e5def11b468799b1806150bb8bd1106c9d6c8772b0f2492f",
|
|
4
|
+
"chromedriver-v35.4.0-linux-arm64.zip": "22c62283e1a3427597433216ae6428af527e33b5be6bc39bb5d1b9654921826b",
|
|
5
|
+
"chromedriver-v35.4.0-linux-armv7l.zip": "95537f69b8558a334f60ed1a4684a8a68e8fcf05659843dcdd65f335a4c386d0",
|
|
6
|
+
"chromedriver-v35.4.0-linux-x64.zip": "8bf999921936c2be7caf60e8d7d970046e795a76432a0ec29c276588951a7157",
|
|
7
|
+
"chromedriver-v35.4.0-mas-arm64.zip": "5ff0181ac82100cb9b7b6b8c85a59647e563b3a86c754de63f1b4a34bb541552",
|
|
8
|
+
"chromedriver-v35.4.0-mas-x64.zip": "eed4a99a5b43f9be9f4818a2156caac8bdb53afc5489d16d11c7b6854e414148",
|
|
9
|
+
"chromedriver-v35.4.0-win32-arm64.zip": "a6bec63988ed5bd95a60d35548b73c1e2611ff2f97c711ccac85c1e56efb8124",
|
|
10
|
+
"chromedriver-v35.4.0-win32-ia32.zip": "82b3c02d1464b5f5394068527430203ba5a81cfe522ca0de8641bbf32c599431",
|
|
11
|
+
"chromedriver-v35.4.0-win32-x64.zip": "b014aa6649429e6db466c8a294b93bbb6d4f1af5f91e6da83188d7ce4ee99433",
|
|
12
|
+
"electron-api.json": "bb327cc0b8516f808d27aed237003da30d79efd535f9369a780e649c8e7abe25",
|
|
13
|
+
"electron-v35.4.0-darwin-arm64-dsym-snapshot.zip": "26480b21c4e1e5270fff3c51e9ee67f47bcc4361491a7227327542daecc406c4",
|
|
14
|
+
"electron-v35.4.0-darwin-arm64-dsym.zip": "96d90717c51b80b7a36f5ca990065230c1165a7c9d9d38857fd211f115d23641",
|
|
15
|
+
"electron-v35.4.0-darwin-arm64-symbols.zip": "34ec66ec70a60d35a1848890c30d55ff54b4205e2054f33f0d6e4c5d737b7d66",
|
|
16
|
+
"electron-v35.4.0-darwin-arm64.zip": "787218e745af06757635a008a55a8073914ef3d27b3cc133593bd5af267fb945",
|
|
17
|
+
"electron-v35.4.0-darwin-x64-dsym-snapshot.zip": "c8557d79133955dcd87cf6714a3ef336e54b6a0c213f4c8b854e5f42f09662b0",
|
|
18
|
+
"electron-v35.4.0-darwin-x64-dsym.zip": "e98fc354153d37aca12f6abd316f83c1c5e6983282b790519eecf22aab3d4b4f",
|
|
19
|
+
"electron-v35.4.0-darwin-x64-symbols.zip": "da135b3443b9b0e56a8e0fe923263b0f0b7906de8b57597a284c90bf39f9a129",
|
|
20
|
+
"electron-v35.4.0-darwin-x64.zip": "714b3c92718ca23ed51870c03d70dbabe6ce82607927ae6dbcb7e5515ed57c72",
|
|
21
|
+
"electron-v35.4.0-linux-arm64-debug.zip": "a8475812f5e615c32b7192d2f5f172597e2cdc3840b1383b122b0960ae3abe8e",
|
|
22
|
+
"electron-v35.4.0-linux-arm64-symbols.zip": "563e2ae32832587e2d69c9933592f019d25b87a71b57017058b2a4ef95c7b279",
|
|
23
|
+
"electron-v35.4.0-linux-arm64.zip": "7408f387c1e2d753819d647d0a67710ec4d25467484fb3d3bb7aeca0989d46bf",
|
|
24
|
+
"electron-v35.4.0-linux-armv7l-debug.zip": "a8475812f5e615c32b7192d2f5f172597e2cdc3840b1383b122b0960ae3abe8e",
|
|
25
|
+
"electron-v35.4.0-linux-armv7l-symbols.zip": "b9881a91e847f53cce0cdd1fc4d298540c9a2f820a81bbf40963ebe0c919edd8",
|
|
26
|
+
"electron-v35.4.0-linux-armv7l.zip": "29db4fe1d218c932ee4c4f316ddd8bc62b7efae16b13b627cdf76721b168486a",
|
|
27
|
+
"electron-v35.4.0-linux-x64-debug.zip": "319953406d234638dcb988b008d1416c19d8d34b3aa083732d93e1bdb85bce28",
|
|
28
|
+
"electron-v35.4.0-linux-x64-symbols.zip": "380aa70e7a72fd5a3675f9b79773a1473c001a9d91f544f48722e6bff4b2a14e",
|
|
29
|
+
"electron-v35.4.0-linux-x64.zip": "48ef220fe1880774af9253bcebdf028a9a896a2f25b1a8bb24fdaeaecc06674e",
|
|
30
|
+
"electron-v35.4.0-mas-arm64-dsym-snapshot.zip": "0566dad0246f084b48f5bc4df771261e663707c546cb42da492efe4117d0f397",
|
|
31
|
+
"electron-v35.4.0-mas-arm64-dsym.zip": "37ab5b285a0256b6a994db2ee10a1f93ef6f89511cb4c1b5ca2b0a75589b1e21",
|
|
32
|
+
"electron-v35.4.0-mas-arm64-symbols.zip": "f6dce245d1d78f1cb195836c9fd05579b5e354e5d0a055b0566df9898acc5384",
|
|
33
|
+
"electron-v35.4.0-mas-arm64.zip": "845d97b1438e834e63d6388227a7512a874d3e093df99c0fc4f5c4e0341cc6a8",
|
|
34
|
+
"electron-v35.4.0-mas-x64-dsym-snapshot.zip": "a1939dc9b12cc7d18939a8af6df474fd9bc300bb9d8bbcdcecf401d79f400ef3",
|
|
35
|
+
"electron-v35.4.0-mas-x64-dsym.zip": "7f004873262fd78bfe13d6e4f08730ac4ea8405b6ec64f27acf1c554abd66edb",
|
|
36
|
+
"electron-v35.4.0-mas-x64-symbols.zip": "b83efb2c273391057e8aa6dd1947f85d3dea04b55562ba411218d09b9f67a416",
|
|
37
|
+
"electron-v35.4.0-mas-x64.zip": "179cfc14ed3da25903c2149631a6d4a00633e154881da3a038550c178f585db9",
|
|
38
|
+
"electron-v35.4.0-win32-arm64-pdb.zip": "eeb4755e590ff68317d422ea6ddbde5d83a7ecb2d7417a6f45d7d03dae2d10d3",
|
|
39
|
+
"electron-v35.4.0-win32-arm64-symbols.zip": "6afa154d47c02949491722eaf0c94ea827a0c9a2fbe54aea94a96cb8c18e4491",
|
|
40
|
+
"electron-v35.4.0-win32-arm64-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
|
|
41
|
+
"electron-v35.4.0-win32-arm64.zip": "72f623cd31b1f30ba8207cdbbcfa18d64a6d453c37b519daf655cdcde10cee9a",
|
|
42
|
+
"electron-v35.4.0-win32-ia32-pdb.zip": "a7e97771a753b558c7163b3d72c5b5db12a57babdb84918017d3280dc928e578",
|
|
43
|
+
"electron-v35.4.0-win32-ia32-symbols.zip": "48c248d7eacb3a3be4c4c45859896a7fcccdd73d42564afe907ce1c6783f7889",
|
|
44
|
+
"electron-v35.4.0-win32-ia32-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
|
|
45
|
+
"electron-v35.4.0-win32-ia32.zip": "adaca824caf152e2ae304452cdbacfd45b7ed3935da1211a9cc412ffe3c05087",
|
|
46
|
+
"electron-v35.4.0-win32-x64-pdb.zip": "0bcc742f1fb41f3ebb0f1e030adb3a23f4ea09c3cd70fac68c09e5d16cee4fb4",
|
|
47
|
+
"electron-v35.4.0-win32-x64-symbols.zip": "50da8878d52b1182a723ac1d17227b33fcc2afc2babfdcc8889b436c28ca77d2",
|
|
48
|
+
"electron-v35.4.0-win32-x64-toolchain-profile.zip": "c23f84aabb09c24cd2ae759a547fdba4206af19a3bb0f4554a91cd9528648ad0",
|
|
49
|
+
"electron-v35.4.0-win32-x64.zip": "f45e637f85a3be3c8aa9571e48c29d7d7deae6372f827c3d9bacf69de598570e",
|
|
50
|
+
"electron.d.ts": "22c1723e008a8f2db879588d705ba528894c5d56053539f29de54de30cbe36a3",
|
|
51
|
+
"ffmpeg-v35.4.0-darwin-arm64.zip": "f82f63b3c72e2ada752aaaa347c69634898693c19aacef8ffc41ee63d4763005",
|
|
52
|
+
"ffmpeg-v35.4.0-darwin-x64.zip": "27637805014111051ed8c4690e98f15180a364ac5b2c97930c03d93592190ace",
|
|
53
|
+
"ffmpeg-v35.4.0-linux-arm64.zip": "72e89440cbdd5b7eaae16f0ef5f1cb2ee43253938e07617954b8f9cd0cf6f462",
|
|
54
|
+
"ffmpeg-v35.4.0-linux-armv7l.zip": "c09c0807f37170eaef01d6647ad691cd6ef8f35440c9dc42eb75c9af74e9ae93",
|
|
55
|
+
"ffmpeg-v35.4.0-linux-x64.zip": "c9faac57f5388d9ee280bfbd82eafab64955149eed99ee47e0e6f03316486fba",
|
|
56
|
+
"ffmpeg-v35.4.0-mas-arm64.zip": "f82f63b3c72e2ada752aaaa347c69634898693c19aacef8ffc41ee63d4763005",
|
|
57
|
+
"ffmpeg-v35.4.0-mas-x64.zip": "27637805014111051ed8c4690e98f15180a364ac5b2c97930c03d93592190ace",
|
|
58
|
+
"ffmpeg-v35.4.0-win32-arm64.zip": "3a545b35793f2a3266ec259f9f553fe3972a91071e0979f5cb0b4cca7940bc7d",
|
|
59
|
+
"ffmpeg-v35.4.0-win32-ia32.zip": "3a545b35793f2a3266ec259f9f553fe3972a91071e0979f5cb0b4cca7940bc7d",
|
|
60
|
+
"ffmpeg-v35.4.0-win32-x64.zip": "3a545b35793f2a3266ec259f9f553fe3972a91071e0979f5cb0b4cca7940bc7d",
|
|
61
|
+
"hunspell_dictionaries.zip": "064b7188a45bd1d909b7ef1b8bb4c16427d1a9fe3ca6c8a24f697b40a1cc293a",
|
|
62
|
+
"libcxx-objects-v35.4.0-linux-arm64.zip": "5c1024015c6b81260357a485f74e4e1f37de0a8021f17a07db3f31be4a932672",
|
|
63
|
+
"libcxx-objects-v35.4.0-linux-armv7l.zip": "876e3bc167e654ccddfa6420691bf7104d69e670da4ceb2088837f89ff0d1863",
|
|
64
|
+
"libcxx-objects-v35.4.0-linux-x64.zip": "a496df1a893145759643ffc3f70c4d8d57a00a8f543d7d812419ef2641dc7bd1",
|
|
65
|
+
"libcxx_headers.zip": "e152220857ff90c017daad55f541f86b126d4ecee0c4634a3755e73abc9d5004",
|
|
66
|
+
"libcxxabi_headers.zip": "a54dfee688fb899e9b0e6584aca8bcfbc1a621ff79ddd030da6515263553c845",
|
|
67
|
+
"mksnapshot-v35.4.0-darwin-arm64.zip": "9bdb0c19c10ebc1eeb346c2c250594f3d3efe7d2e5247c02caf10e4ff31d5833",
|
|
68
|
+
"mksnapshot-v35.4.0-darwin-x64.zip": "44f3fa6199f6024082684ad5042770a30c03ebe3a3d7530d72b77bd0d6b05964",
|
|
69
|
+
"mksnapshot-v35.4.0-linux-arm64-x64.zip": "42c6f0a5485c6edbee929d380328cc77126f502ca50b8ec23b97c16ad4020607",
|
|
70
|
+
"mksnapshot-v35.4.0-linux-armv7l-x64.zip": "3795701f99875d00cc14aa83fdd213c99acda36621fe4186760a784f88c48c51",
|
|
71
|
+
"mksnapshot-v35.4.0-linux-x64.zip": "c39524a78afb44e3f515607ab0dff9af7cf954305985d1835ae37b803765be24",
|
|
72
|
+
"mksnapshot-v35.4.0-mas-arm64.zip": "29dfcbea2819ef4ed393e3427067d93b1163c113967da5b36d88a651f309a3fb",
|
|
73
|
+
"mksnapshot-v35.4.0-mas-x64.zip": "6b554f72f82b3bbbfcfc4d718c0b42ba2f3db2bfffe7a1675859c4af052c06bb",
|
|
74
|
+
"mksnapshot-v35.4.0-win32-arm64-x64.zip": "df9f1d6081db0fe61a607e0761581e96680abb26ff66cec35cfd8e7234024979",
|
|
75
|
+
"mksnapshot-v35.4.0-win32-ia32.zip": "633a1ee40e3474a18d11ddb860d60f67b98820093b71056ca973d93804056fbb",
|
|
76
|
+
"mksnapshot-v35.4.0-win32-x64.zip": "f5a9d1ca3f4e4d7a423ce0f5953a5c6441b3b67e5085e9fa465eb9795c172a02"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 35.
|
|
1
|
+
// Type definitions for Electron 35.4.0
|
|
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
|
/**
|
|
@@ -4757,43 +4759,45 @@ declare namespace Electron {
|
|
|
4757
4759
|
*
|
|
4758
4760
|
* Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
4759
4761
|
*
|
|
4760
|
-
*
|
|
4762
|
+
* To convert `point` to DIP, use `screen.screenToDipPoint(point)`.
|
|
4763
|
+
*
|
|
4764
|
+
* @platform win32,linux
|
|
4761
4765
|
*/
|
|
4762
4766
|
on(event: 'system-context-menu', listener: (event: Event,
|
|
4763
4767
|
/**
|
|
4764
|
-
* The screen coordinates the context menu was triggered
|
|
4768
|
+
* The screen coordinates where the context menu was triggered.
|
|
4765
4769
|
*/
|
|
4766
4770
|
point: Point) => void): this;
|
|
4767
4771
|
/**
|
|
4768
|
-
* @platform win32
|
|
4772
|
+
* @platform win32,linux
|
|
4769
4773
|
*/
|
|
4770
4774
|
off(event: 'system-context-menu', listener: (event: Event,
|
|
4771
4775
|
/**
|
|
4772
|
-
* The screen coordinates the context menu was triggered
|
|
4776
|
+
* The screen coordinates where the context menu was triggered.
|
|
4773
4777
|
*/
|
|
4774
4778
|
point: Point) => void): this;
|
|
4775
4779
|
/**
|
|
4776
|
-
* @platform win32
|
|
4780
|
+
* @platform win32,linux
|
|
4777
4781
|
*/
|
|
4778
4782
|
once(event: 'system-context-menu', listener: (event: Event,
|
|
4779
4783
|
/**
|
|
4780
|
-
* The screen coordinates the context menu was triggered
|
|
4784
|
+
* The screen coordinates where the context menu was triggered.
|
|
4781
4785
|
*/
|
|
4782
4786
|
point: Point) => void): this;
|
|
4783
4787
|
/**
|
|
4784
|
-
* @platform win32
|
|
4788
|
+
* @platform win32,linux
|
|
4785
4789
|
*/
|
|
4786
4790
|
addListener(event: 'system-context-menu', listener: (event: Event,
|
|
4787
4791
|
/**
|
|
4788
|
-
* The screen coordinates the context menu was triggered
|
|
4792
|
+
* The screen coordinates where the context menu was triggered.
|
|
4789
4793
|
*/
|
|
4790
4794
|
point: Point) => void): this;
|
|
4791
4795
|
/**
|
|
4792
|
-
* @platform win32
|
|
4796
|
+
* @platform win32,linux
|
|
4793
4797
|
*/
|
|
4794
4798
|
removeListener(event: 'system-context-menu', listener: (event: Event,
|
|
4795
4799
|
/**
|
|
4796
|
-
* The screen coordinates the context menu was triggered
|
|
4800
|
+
* The screen coordinates where the context menu was triggered.
|
|
4797
4801
|
*/
|
|
4798
4802
|
point: Point) => void): this;
|
|
4799
4803
|
/**
|
|
@@ -4804,43 +4808,45 @@ declare namespace Electron {
|
|
|
4804
4808
|
*
|
|
4805
4809
|
* Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
4806
4810
|
*
|
|
4807
|
-
*
|
|
4811
|
+
* To convert `point` to DIP, use `screen.screenToDipPoint(point)`.
|
|
4812
|
+
*
|
|
4813
|
+
* @platform win32,linux
|
|
4808
4814
|
*/
|
|
4809
4815
|
on(event: 'system-context-menu', listener: (event: Event,
|
|
4810
4816
|
/**
|
|
4811
|
-
* The screen coordinates the context menu was triggered
|
|
4817
|
+
* The screen coordinates where the context menu was triggered.
|
|
4812
4818
|
*/
|
|
4813
4819
|
point: Point) => void): this;
|
|
4814
4820
|
/**
|
|
4815
|
-
* @platform win32
|
|
4821
|
+
* @platform win32,linux
|
|
4816
4822
|
*/
|
|
4817
4823
|
off(event: 'system-context-menu', listener: (event: Event,
|
|
4818
4824
|
/**
|
|
4819
|
-
* The screen coordinates the context menu was triggered
|
|
4825
|
+
* The screen coordinates where the context menu was triggered.
|
|
4820
4826
|
*/
|
|
4821
4827
|
point: Point) => void): this;
|
|
4822
4828
|
/**
|
|
4823
|
-
* @platform win32
|
|
4829
|
+
* @platform win32,linux
|
|
4824
4830
|
*/
|
|
4825
4831
|
once(event: 'system-context-menu', listener: (event: Event,
|
|
4826
4832
|
/**
|
|
4827
|
-
* The screen coordinates the context menu was triggered
|
|
4833
|
+
* The screen coordinates where the context menu was triggered.
|
|
4828
4834
|
*/
|
|
4829
4835
|
point: Point) => void): this;
|
|
4830
4836
|
/**
|
|
4831
|
-
* @platform win32
|
|
4837
|
+
* @platform win32,linux
|
|
4832
4838
|
*/
|
|
4833
4839
|
addListener(event: 'system-context-menu', listener: (event: Event,
|
|
4834
4840
|
/**
|
|
4835
|
-
* The screen coordinates the context menu was triggered
|
|
4841
|
+
* The screen coordinates where the context menu was triggered.
|
|
4836
4842
|
*/
|
|
4837
4843
|
point: Point) => void): this;
|
|
4838
4844
|
/**
|
|
4839
|
-
* @platform win32
|
|
4845
|
+
* @platform win32,linux
|
|
4840
4846
|
*/
|
|
4841
4847
|
removeListener(event: 'system-context-menu', listener: (event: Event,
|
|
4842
4848
|
/**
|
|
4843
|
-
* The screen coordinates the context menu was triggered
|
|
4849
|
+
* The screen coordinates where the context menu was triggered.
|
|
4844
4850
|
*/
|
|
4845
4851
|
point: Point) => void): this;
|
|
4846
4852
|
/**
|
package/package.json
CHANGED