electron 44.0.0-beta.5 → 44.0.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 +67 -61
- package/electron.d.ts +99 -12
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,63 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v44.0.0-
|
|
3
|
-
"chromedriver-v44.0.0-
|
|
4
|
-
"chromedriver-v44.0.0-
|
|
5
|
-
"chromedriver-v44.0.0-
|
|
6
|
-
"chromedriver-v44.0.0-
|
|
7
|
-
"chromedriver-v44.0.0-
|
|
8
|
-
"chromedriver-v44.0.0-
|
|
9
|
-
"chromedriver-v44.0.0-
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v44.0.0-
|
|
12
|
-
"electron-v44.0.0-
|
|
13
|
-
"electron-v44.0.0-
|
|
14
|
-
"electron-v44.0.0-
|
|
15
|
-
"electron-v44.0.0-
|
|
16
|
-
"electron-v44.0.0-
|
|
17
|
-
"electron-v44.0.0-
|
|
18
|
-
"electron-v44.0.0-
|
|
19
|
-
"electron-v44.0.0-
|
|
20
|
-
"electron-v44.0.0-
|
|
21
|
-
"electron-v44.0.0-
|
|
22
|
-
"electron-v44.0.0-
|
|
23
|
-
"electron-v44.0.0-
|
|
24
|
-
"electron-v44.0.0-
|
|
25
|
-
"electron-v44.0.0-
|
|
26
|
-
"electron-v44.0.0-
|
|
27
|
-
"electron-v44.0.0-
|
|
28
|
-
"electron-v44.0.0-
|
|
29
|
-
"electron-v44.0.0-
|
|
30
|
-
"electron-v44.0.0-
|
|
31
|
-
"electron-v44.0.0-
|
|
32
|
-
"electron-v44.0.0-
|
|
33
|
-
"electron-v44.0.0-
|
|
34
|
-
"electron-v44.0.0-
|
|
35
|
-
"electron-v44.0.0-
|
|
36
|
-
"electron-v44.0.0-
|
|
37
|
-
"electron-v44.0.0-
|
|
38
|
-
"electron-v44.0.0-
|
|
39
|
-
"electron-v44.0.0-
|
|
40
|
-
"electron-v44.0.0-
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v44.0.0-
|
|
43
|
-
"ffmpeg-v44.0.0-
|
|
44
|
-
"ffmpeg-v44.0.0-
|
|
45
|
-
"ffmpeg-v44.0.0-
|
|
46
|
-
"ffmpeg-v44.0.0-
|
|
47
|
-
"ffmpeg-v44.0.0-
|
|
48
|
-
"ffmpeg-v44.0.0-
|
|
49
|
-
"ffmpeg-v44.0.0-
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v44.0.0-
|
|
52
|
-
"libcxx-objects-v44.0.0-
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v44.0.0-
|
|
56
|
-
"mksnapshot-v44.0.0-
|
|
57
|
-
"mksnapshot-v44.0.0-
|
|
58
|
-
"mksnapshot-v44.0.0-
|
|
59
|
-
"mksnapshot-v44.0.0-
|
|
60
|
-
"mksnapshot-v44.0.0-
|
|
61
|
-
"mksnapshot-v44.0.0-
|
|
62
|
-
"mksnapshot-v44.0.0-
|
|
2
|
+
"chromedriver-v44.0.0-darwin-arm64.zip": "2ae9243bfc24fdb3827200b3f76951dac28bf1145e636ee203730ad6e96989c7",
|
|
3
|
+
"chromedriver-v44.0.0-darwin-x64.zip": "4841688fceed360b636c990a8643ef36b61de416a120b401aa7dfd5d19777f99",
|
|
4
|
+
"chromedriver-v44.0.0-linux-arm64.zip": "589c9c395ea373602a48a1329ded0f23e5457d7d5c2d088fb05f89c603cb7d20",
|
|
5
|
+
"chromedriver-v44.0.0-linux-x64.zip": "d7d2c5e90b987d9c1eb917ad4438731d17f1e2f4414fbaa9ed0d3f48f0b3d105",
|
|
6
|
+
"chromedriver-v44.0.0-mas-arm64.zip": "a5883404c005be42dc908041ca4a7988677461513ad117acf5589ec71f5e6de4",
|
|
7
|
+
"chromedriver-v44.0.0-mas-x64.zip": "8154949ebeba41cc86e27df1141eb30bf8e564fb1740ed55affaecff27163396",
|
|
8
|
+
"chromedriver-v44.0.0-win32-arm64.zip": "e3aeafc3e57af09d42af93fb0da6a3a809ad86fa77a7e371cc54fadfa1f467ed",
|
|
9
|
+
"chromedriver-v44.0.0-win32-x64.zip": "fe7d31ed459ac06df1fe2f2461a2857d8146788d899fa1f38505cf6cbb7bd50f",
|
|
10
|
+
"electron-api.json": "e0392591366b836d25fa98089a583a12133e732455a2398779dafe402b266ee7",
|
|
11
|
+
"electron-v44.0.0-darwin-arm64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
|
|
12
|
+
"electron-v44.0.0-darwin-arm64-dsym.tar.xz": "cb0b920c3b5295170503d542903b8ccc942392e1cb46e2e2fa1074c4262ddb0e",
|
|
13
|
+
"electron-v44.0.0-darwin-arm64-symbols.zip": "d12a7ca7ddca2d8cf0903531199b73b1933c475e65359d43ee4946cb7a898f4b",
|
|
14
|
+
"electron-v44.0.0-darwin-arm64.zip": "076d79742986e1b100b69ebecc691cb07368045e54c9087cef631b8622b76a80",
|
|
15
|
+
"electron-v44.0.0-darwin-x64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
|
|
16
|
+
"electron-v44.0.0-darwin-x64-dsym.tar.xz": "31b8177a3c49df7cda151eed3892afff86a8130385aa37c6df8de728eaecc012",
|
|
17
|
+
"electron-v44.0.0-darwin-x64-symbols.zip": "70ea5b1b896a18867bff5bef65bb24c106f9d780b64842f6e47679ca4a32d9db",
|
|
18
|
+
"electron-v44.0.0-darwin-x64.zip": "28429e700ad68d9624aaa90b6543ffe891a48c14121fd904cd294e5edcee63ff",
|
|
19
|
+
"electron-v44.0.0-linux-arm64-debug.zip": "7e6313430fa111b9d6497167b774caf622b7d36eb2bc7e2ad00650d6253c47fd",
|
|
20
|
+
"electron-v44.0.0-linux-arm64-symbols.zip": "3e63dbbac23eda2e218a5cb7c9cfe72015ad1a45b2ca64674dfd61ca6e28cf96",
|
|
21
|
+
"electron-v44.0.0-linux-arm64.zip": "74b6f18bc29c0d52cf8e963c45d476800419097c6f3d53b27c5df335207e52bb",
|
|
22
|
+
"electron-v44.0.0-linux-x64-debug.zip": "2dd34e8506e96b7a048c873bacad6531442889d2bac59ced32fe3da73641aa09",
|
|
23
|
+
"electron-v44.0.0-linux-x64-symbols.zip": "bc3dcb79115d609cd927d80713734e2e7d933bd3637757ee0bf56af7fe3dae0d",
|
|
24
|
+
"electron-v44.0.0-linux-x64.zip": "d65286d812719f2b4c1a1b806a80f288a1058c89c7b058dae1e03ab25e499446",
|
|
25
|
+
"electron-v44.0.0-mas-arm64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
|
|
26
|
+
"electron-v44.0.0-mas-arm64-dsym.tar.xz": "2b5fadd9dc633fc18f17556caa51297d308a8ddb504aa5e4715c60cb1af20893",
|
|
27
|
+
"electron-v44.0.0-mas-arm64-symbols.zip": "a6b177b77716f5e968df8575d94d559ebddb92026db13241553794eef0838945",
|
|
28
|
+
"electron-v44.0.0-mas-arm64.zip": "5df0d1fccf812fa2d06c56c43e541202f1472dd561b1eb12cc5deec205915ae4",
|
|
29
|
+
"electron-v44.0.0-mas-x64-dsym-snapshot.zip": "f5feb5f3001087b37c37ec2fcbbaa378eb9dcbe50cf0522431fc03ae749954fc",
|
|
30
|
+
"electron-v44.0.0-mas-x64-dsym.tar.xz": "d938e16613ae42331168a6cbb1b03dcf8e87c0cb32d76c6d7a0e05823d8cc191",
|
|
31
|
+
"electron-v44.0.0-mas-x64-symbols.zip": "afa68b1fde51b6d1c2c51b65dec4d839a4ee12c72f9bc88ea2882d819fc00215",
|
|
32
|
+
"electron-v44.0.0-mas-x64.zip": "83ffb3e8314d4a764fa9483eda841aaf94adc0561b475b79e8154c34510e925b",
|
|
33
|
+
"electron-v44.0.0-win32-arm64-pdb.zip": "9cdf4ae6b489ade87fad2914a841de074943897e7802fffd0045b2ef81076b5f",
|
|
34
|
+
"electron-v44.0.0-win32-arm64-symbols.zip": "fd831df087a2b4ae390c569c2001660c819e3ccb45770dc0caf3cb9049992591",
|
|
35
|
+
"electron-v44.0.0-win32-arm64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
|
|
36
|
+
"electron-v44.0.0-win32-arm64.zip": "984c8f3b9ffaf3c0a3f3501c96277effc05a9f0df5a5d920b2610c09ebaf4368",
|
|
37
|
+
"electron-v44.0.0-win32-x64-pdb.zip": "982a91759987ea2f3508b1cabe9bcdc3832d568482861096c722b66f5c41168a",
|
|
38
|
+
"electron-v44.0.0-win32-x64-symbols.zip": "6b0289b13c4d3c3b102b21cfba26c242cd3054e98d75c364bd3e708c7cb0e2b2",
|
|
39
|
+
"electron-v44.0.0-win32-x64-toolchain-profile.zip": "90386280bc7e4ac5d451e43e26a7c76ed1c8bcdc0206ec50762c7e4f09c59c28",
|
|
40
|
+
"electron-v44.0.0-win32-x64.zip": "e61aa3bcea8152bc0730abd015e47c032d778a0ef10e2a1c78ba3c4ea47942f9",
|
|
41
|
+
"electron.d.ts": "ddb17a5074762117e25fbe0230df660a68445ec30dcbce841b97be5816f35e81",
|
|
42
|
+
"ffmpeg-v44.0.0-darwin-arm64.zip": "71db03c15596537b13741b5e50438e78c57a50dcb99e86e33051e7b8d2ca677e",
|
|
43
|
+
"ffmpeg-v44.0.0-darwin-x64.zip": "35fea767fc2f4cea3e162ca9f3fb0bdd9331434e803c2cd6bc711a699d40dd1a",
|
|
44
|
+
"ffmpeg-v44.0.0-linux-arm64.zip": "f36eaffcc521a7822f311232f2933db36e838a4f0ad00178cee9b8dcc10e0d47",
|
|
45
|
+
"ffmpeg-v44.0.0-linux-x64.zip": "cdf87f5ca57f7a32a30461d77c141c5b2260cfef286a68ca5c163e18187857db",
|
|
46
|
+
"ffmpeg-v44.0.0-mas-arm64.zip": "fbe810fe05aaa520cd1862c3167fa2b14bf50c57cbbc44a5020535eb25ac5f25",
|
|
47
|
+
"ffmpeg-v44.0.0-mas-x64.zip": "d5bf78be8b306e07d9f4548924f6c02c2b54151ae3b6e003aa3d59f97b2ef55a",
|
|
48
|
+
"ffmpeg-v44.0.0-win32-arm64.zip": "770c6bb9605aed6e5f25e175d591accffa2109d137080d9115f0bbf306492492",
|
|
49
|
+
"ffmpeg-v44.0.0-win32-x64.zip": "bdb92be100dd91bcf370111738e91f53c8a402b671547a2c1a178c1f32c881d4",
|
|
50
|
+
"hunspell_dictionaries.zip": "1fc818d2d14423de4e81a276c259d70e84beb7ca850fe82ad6effbe8c763b8aa",
|
|
51
|
+
"libcxx-objects-v44.0.0-linux-arm64.zip": "c5f81d20410295c7a0a37cad707d5172591e02cbed740dcfabd1f158dfb3474f",
|
|
52
|
+
"libcxx-objects-v44.0.0-linux-x64.zip": "d391dad6c8a587f472ac0d6c1b2cc0ee455551f1820effa9341761eba089f864",
|
|
53
|
+
"libcxx_headers.zip": "5afbdfaea0b36a43f698dff48a10ea59b82d5d2043d2118c94544e3a760fc05a",
|
|
54
|
+
"libcxxabi_headers.zip": "f1129a0445b75092897fc3e036a56e5146132c48c0d6a9f1063f9faa9efa6524",
|
|
55
|
+
"mksnapshot-v44.0.0-darwin-arm64.zip": "5d154900569874a968aff75b4330d8580a20a83503fb5402dce58193411f388e",
|
|
56
|
+
"mksnapshot-v44.0.0-darwin-x64.zip": "f3dbbae31737f91d6e9e0644353c812fe6b88a30d0106b0910352753a4b15bad",
|
|
57
|
+
"mksnapshot-v44.0.0-linux-arm64-x64.zip": "817c76405564dc6078f2dc9cc2bc4bc76dbd09a723bb558a12589776a2a0d214",
|
|
58
|
+
"mksnapshot-v44.0.0-linux-x64.zip": "a06914a0f17ef0d025867607a9e8adc2b68f67b40878dd5bf3da9f00f800ba68",
|
|
59
|
+
"mksnapshot-v44.0.0-mas-arm64.zip": "2720f4b4a9b881a83dc2bbd860bc142bbab4c78ef399680a2e1f72e1e12c4daf",
|
|
60
|
+
"mksnapshot-v44.0.0-mas-x64.zip": "a9bc99f0d90292939e416a52ae516778e543ba1db77f50cb9e3b4f85b10400ba",
|
|
61
|
+
"mksnapshot-v44.0.0-win32-arm64-x64.zip": "61b0654ad7605be376b7e28c2cf34523c9dde68f294f99f1649613bc6f3c8b2b",
|
|
62
|
+
"mksnapshot-v44.0.0-win32-x64.zip": "0570bef64620771d606c3e566cab8aba4fa3131e25da8cc1184351bf246d52c0",
|
|
63
|
+
"xcache-v44.0.0-darwin-arm64.zip": "9e7064e7d839206fdfd654c74feb8a1c63b2228f114d5c4117520876defc97f0",
|
|
64
|
+
"xcache-v44.0.0-darwin-x64.zip": "b489e592b10abe487616c6cb11c8d3fce62e75ec5ab3af31625613026ba6c9d9",
|
|
65
|
+
"xcache-v44.0.0-linux-arm64.zip": "dd7c15fd2c537695452edec382471666b27a340f91e42ed7834dd4b1c1b7a5f0",
|
|
66
|
+
"xcache-v44.0.0-linux-x64.zip": "4b3dede1b53045fe57330af3e125ba17066f01c924e98e8a7c99895a9381e2a8",
|
|
67
|
+
"xcache-v44.0.0-win32-arm64.zip": "fe81db19dff5d3fdd40231553f682d7e7bdd09b81ed8357974332ac438774720",
|
|
68
|
+
"xcache-v44.0.0-win32-x64.zip": "27a7e22ce34f4791aad3671b790c927a6b48470d0ba6f69cd69a1f619607743b"
|
|
63
69
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.0.0
|
|
1
|
+
// Type definitions for Electron 44.0.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
|
|
@@ -1551,6 +1551,11 @@ declare namespace Electron {
|
|
|
1551
1551
|
* line, the system's single instance mechanism will be bypassed, and you have to
|
|
1552
1552
|
* use this method to ensure single instance.
|
|
1553
1553
|
*
|
|
1554
|
+
* > [!NOTE] On macOS and Linux, the second instance's command line arguments and
|
|
1555
|
+
* `additionalData` are sent to the primary instance in a single message that is
|
|
1556
|
+
* limited to 32 MB. Larger messages are dropped: this method still returns
|
|
1557
|
+
* `false`, but the primary instance does not emit `second-instance`.
|
|
1558
|
+
*
|
|
1554
1559
|
* An example of activating the window of primary instance when a second instance
|
|
1555
1560
|
* starts:
|
|
1556
1561
|
*/
|
|
@@ -1671,13 +1676,20 @@ declare namespace Electron {
|
|
|
1671
1676
|
/**
|
|
1672
1677
|
* Whether the call succeeded.
|
|
1673
1678
|
*
|
|
1674
|
-
* Sets the
|
|
1675
|
-
*
|
|
1679
|
+
* Sets the counter badge for current app. Setting the count to `0` will hide the
|
|
1680
|
+
* badge.
|
|
1676
1681
|
*
|
|
1677
|
-
*
|
|
1678
|
-
*
|
|
1682
|
+
* On macOS, it shows on the Dock icon. On Linux, it shows on docks and taskbars
|
|
1683
|
+
* that support the LauncherEntry D-Bus API,
|
|
1679
1684
|
*
|
|
1680
|
-
*
|
|
1685
|
+
* > [!NOTE] On Linux, the badge is associated with the app's `.desktop` file, so
|
|
1686
|
+
* `app.setDesktopName` (or the `desktopName` field in `package.json`) must match
|
|
1687
|
+
* the name of the app's actual `.desktop` file.
|
|
1688
|
+
*
|
|
1689
|
+
* > [!NOTE] On macOS, you need to ensure that your application has the permission
|
|
1690
|
+
* to display notifications for this method to work.
|
|
1691
|
+
*
|
|
1692
|
+
* @platform linux,darwin
|
|
1681
1693
|
*/
|
|
1682
1694
|
setBadgeCount(count?: number): boolean;
|
|
1683
1695
|
/**
|
|
@@ -1924,12 +1936,12 @@ declare namespace Electron {
|
|
|
1924
1936
|
/**
|
|
1925
1937
|
* An `Integer` property that returns the badge count for current app. Setting the
|
|
1926
1938
|
* count to `0` will hide the badge. Setting this with any nonzero integer shows
|
|
1927
|
-
* the count on the Dock icon.
|
|
1939
|
+
* the count on the Dock icon on macOS, or on the launcher on Linux.
|
|
1928
1940
|
*
|
|
1929
|
-
* > [!NOTE]
|
|
1930
|
-
* notifications for this property to take effect.
|
|
1941
|
+
* > [!NOTE] On macOS, you need to ensure that your application has the permission
|
|
1942
|
+
* to display notifications for this property to take effect.
|
|
1931
1943
|
*
|
|
1932
|
-
* @platform darwin
|
|
1944
|
+
* @platform linux,darwin
|
|
1933
1945
|
*/
|
|
1934
1946
|
badgeCount: number;
|
|
1935
1947
|
/**
|
|
@@ -3432,7 +3444,10 @@ declare namespace Electron {
|
|
|
3432
3444
|
* `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
|
|
3433
3445
|
* mode set (but with a value within the valid range), `normal` will be assumed.
|
|
3434
3446
|
*
|
|
3435
|
-
*
|
|
3447
|
+
* On Linux, the progress bar shows on docks and taskbars that support the
|
|
3448
|
+
* LauncherEntry D-Bus API. It is associated with the app's `.desktop` file, so
|
|
3449
|
+
* `app.setDesktopName` must match the name of the app's actual `.desktop` file.
|
|
3450
|
+
* Indeterminate mode is not supported.
|
|
3436
3451
|
*/
|
|
3437
3452
|
setProgressBar(progress: number, options?: ProgressBarOptions): void;
|
|
3438
3453
|
/**
|
|
@@ -6252,7 +6267,10 @@ declare namespace Electron {
|
|
|
6252
6267
|
* `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
|
|
6253
6268
|
* mode set (but with a value within the valid range), `normal` will be assumed.
|
|
6254
6269
|
*
|
|
6255
|
-
*
|
|
6270
|
+
* On Linux, the progress bar shows on docks and taskbars that support the
|
|
6271
|
+
* LauncherEntry D-Bus API. It is associated with the app's `.desktop` file, so
|
|
6272
|
+
* `app.setDesktopName` must match the name of the app's actual `.desktop` file.
|
|
6273
|
+
* Indeterminate mode is not supported.
|
|
6256
6274
|
*/
|
|
6257
6275
|
setProgressBar(progress: number, options?: ProgressBarOptions): void;
|
|
6258
6276
|
/**
|
|
@@ -9600,6 +9618,15 @@ declare namespace Electron {
|
|
|
9600
9618
|
* @platform darwin
|
|
9601
9619
|
*/
|
|
9602
9620
|
accessibilityLabel: string;
|
|
9621
|
+
/**
|
|
9622
|
+
* A `MenuItemBadge` (optional) indicating the badge for the menu item.
|
|
9623
|
+
*
|
|
9624
|
+
* This property can be dynamically changed; setting it to `undefined` removes the
|
|
9625
|
+
* badge. Only available on macOS 14 and up.
|
|
9626
|
+
*
|
|
9627
|
+
* @platform darwin
|
|
9628
|
+
*/
|
|
9629
|
+
badge?: MenuItemBadge;
|
|
9603
9630
|
/**
|
|
9604
9631
|
* A `boolean` indicating whether the item is checked.
|
|
9605
9632
|
*
|
|
@@ -9725,6 +9752,27 @@ declare namespace Electron {
|
|
|
9725
9752
|
visible: boolean;
|
|
9726
9753
|
}
|
|
9727
9754
|
|
|
9755
|
+
interface MenuItemBadge {
|
|
9756
|
+
|
|
9757
|
+
// Docs: https://electronjs.org/docs/api/structures/menu-item-badge
|
|
9758
|
+
|
|
9759
|
+
/**
|
|
9760
|
+
* A custom string to display in the badge. Required for, and only usable with, the
|
|
9761
|
+
* `none` type.
|
|
9762
|
+
*/
|
|
9763
|
+
content?: string;
|
|
9764
|
+
/**
|
|
9765
|
+
* The number of items the badge displays. Required for the `alerts`, `updates` and
|
|
9766
|
+
* `new-items` types; cannot be used with `none`.
|
|
9767
|
+
*/
|
|
9768
|
+
count?: number;
|
|
9769
|
+
/**
|
|
9770
|
+
* Can be `alerts`, `updates`, `new-items` or `none`. Default is `none`. See
|
|
9771
|
+
* Creating badges of a specific type for further explanation of these types.
|
|
9772
|
+
*/
|
|
9773
|
+
type?: ('alerts' | 'updates' | 'new-items' | 'none');
|
|
9774
|
+
}
|
|
9775
|
+
|
|
9728
9776
|
class MessageChannelMain {
|
|
9729
9777
|
|
|
9730
9778
|
// Docs: https://electronjs.org/docs/api/message-channel-main
|
|
@@ -18253,6 +18301,10 @@ declare namespace Electron {
|
|
|
18253
18301
|
* greater than 0.
|
|
18254
18302
|
*/
|
|
18255
18303
|
isBeingCaptured(): boolean;
|
|
18304
|
+
/**
|
|
18305
|
+
* Whether caret browsing is enabled for this page.
|
|
18306
|
+
*/
|
|
18307
|
+
isCaretBrowsingEnabled(): boolean;
|
|
18256
18308
|
/**
|
|
18257
18309
|
* Whether the renderer process has crashed.
|
|
18258
18310
|
*/
|
|
@@ -18488,6 +18540,10 @@ declare namespace Electron {
|
|
|
18488
18540
|
* when the page becomes backgrounded. This also affects the Page Visibility API.
|
|
18489
18541
|
*/
|
|
18490
18542
|
setBackgroundThrottling(allowed: boolean): void;
|
|
18543
|
+
/**
|
|
18544
|
+
* Sets whether caret browsing is enabled on the current web page.
|
|
18545
|
+
*/
|
|
18546
|
+
setCaretBrowsingEnabled(enabled: boolean): void;
|
|
18491
18547
|
/**
|
|
18492
18548
|
* Changes the title of the DevTools window to `title`. This will only be visible
|
|
18493
18549
|
* if DevTools is opened in `undocked` or `detach` mode.
|
|
@@ -18655,6 +18711,25 @@ declare namespace Electron {
|
|
|
18655
18711
|
* affects the Page Visibility API.
|
|
18656
18712
|
*/
|
|
18657
18713
|
backgroundThrottling: boolean;
|
|
18714
|
+
/**
|
|
18715
|
+
* A `boolean` property that determines whether caret browsing is enabled for this
|
|
18716
|
+
* page.
|
|
18717
|
+
*
|
|
18718
|
+
* When enabled, a movable cursor is placed in the page's text, allowing the user
|
|
18719
|
+
* to navigate and select content with the keyboard. Changes apply to the live page
|
|
18720
|
+
* without reloading it.
|
|
18721
|
+
*
|
|
18722
|
+
* A `<webview>` guest inherits this value from its embedder when it is created and
|
|
18723
|
+
* then tracks it independently, so disabling caret browsing on the embedder leaves
|
|
18724
|
+
* an existing guest enabled.
|
|
18725
|
+
*
|
|
18726
|
+
* While any `WebContents` in the process has caret browsing enabled, assistive
|
|
18727
|
+
* technology is notified process-wide that caret browsing is active, so that
|
|
18728
|
+
* screen readers report the caret's position as it moves. That notification is
|
|
18729
|
+
* only withdrawn once every `WebContents` that enabled caret browsing has either
|
|
18730
|
+
* disabled it or been destroyed.
|
|
18731
|
+
*/
|
|
18732
|
+
caretBrowsingEnabled: boolean;
|
|
18658
18733
|
/**
|
|
18659
18734
|
* A `Debugger` instance for this webContents.
|
|
18660
18735
|
*
|
|
@@ -22358,6 +22433,13 @@ declare namespace Electron {
|
|
|
22358
22433
|
* containing group after the containing group of the item with the specified id.
|
|
22359
22434
|
*/
|
|
22360
22435
|
afterGroupContaining?: string[];
|
|
22436
|
+
/**
|
|
22437
|
+
* A badge shown alongside the label, either a system-styled count (`alerts`,
|
|
22438
|
+
* `updates`, `new-items`) or a custom string. Only available on macOS 14 and up.
|
|
22439
|
+
*
|
|
22440
|
+
* @platform darwin
|
|
22441
|
+
*/
|
|
22442
|
+
badge?: MenuItemBadge;
|
|
22361
22443
|
}
|
|
22362
22444
|
|
|
22363
22445
|
interface MessageBoxOptions {
|
|
@@ -25293,6 +25375,7 @@ declare namespace Electron {
|
|
|
25293
25375
|
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
25294
25376
|
type MemoryInfo = Electron.MemoryInfo;
|
|
25295
25377
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
25378
|
+
type MenuItemBadge = Electron.MenuItemBadge;
|
|
25296
25379
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
25297
25380
|
type MouseInputEvent = Electron.MouseInputEvent;
|
|
25298
25381
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
@@ -25705,6 +25788,7 @@ declare namespace Electron {
|
|
|
25705
25788
|
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
25706
25789
|
type MemoryInfo = Electron.MemoryInfo;
|
|
25707
25790
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
25791
|
+
type MenuItemBadge = Electron.MenuItemBadge;
|
|
25708
25792
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
25709
25793
|
type MouseInputEvent = Electron.MouseInputEvent;
|
|
25710
25794
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
@@ -26041,6 +26125,7 @@ declare namespace Electron {
|
|
|
26041
26125
|
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
26042
26126
|
type MemoryInfo = Electron.MemoryInfo;
|
|
26043
26127
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
26128
|
+
type MenuItemBadge = Electron.MenuItemBadge;
|
|
26044
26129
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
26045
26130
|
type MouseInputEvent = Electron.MouseInputEvent;
|
|
26046
26131
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
@@ -26376,6 +26461,7 @@ declare namespace Electron {
|
|
|
26376
26461
|
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
26377
26462
|
type MemoryInfo = Electron.MemoryInfo;
|
|
26378
26463
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
26464
|
+
type MenuItemBadge = Electron.MenuItemBadge;
|
|
26379
26465
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
26380
26466
|
type MouseInputEvent = Electron.MouseInputEvent;
|
|
26381
26467
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
@@ -26807,6 +26893,7 @@ declare namespace Electron {
|
|
|
26807
26893
|
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
26808
26894
|
type MemoryInfo = Electron.MemoryInfo;
|
|
26809
26895
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
26896
|
+
type MenuItemBadge = Electron.MenuItemBadge;
|
|
26810
26897
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
26811
26898
|
type MouseInputEvent = Electron.MouseInputEvent;
|
|
26812
26899
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|