electron 36.3.2 → 36.5.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/README.md +1 -13
- package/checksums.json +75 -75
- package/electron.d.ts +73 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,29 +44,17 @@ Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
|
44
44
|
* Fedora 32 and newer
|
|
45
45
|
* Debian 10 and newer
|
|
46
46
|
|
|
47
|
-
##
|
|
47
|
+
## Electron Fiddle
|
|
48
48
|
|
|
49
49
|
Use [`Electron Fiddle`](https://github.com/electron/fiddle)
|
|
50
50
|
to build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and
|
|
51
51
|
to try out different versions of Electron. It's designed to make the start of your journey with
|
|
52
52
|
Electron easier.
|
|
53
53
|
|
|
54
|
-
Alternatively, clone and run the
|
|
55
|
-
[electron/electron-quick-start](https://github.com/electron/electron-quick-start)
|
|
56
|
-
repository to see a minimal Electron app in action:
|
|
57
|
-
|
|
58
|
-
```sh
|
|
59
|
-
git clone https://github.com/electron/electron-quick-start
|
|
60
|
-
cd electron-quick-start
|
|
61
|
-
npm install
|
|
62
|
-
npm start
|
|
63
|
-
```
|
|
64
|
-
|
|
65
54
|
## Resources for learning Electron
|
|
66
55
|
|
|
67
56
|
* [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
|
|
68
57
|
* [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
|
|
69
|
-
* [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
|
|
70
58
|
* [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
|
|
71
59
|
|
|
72
60
|
## Programmatic usage
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v36.
|
|
3
|
-
"chromedriver-v36.
|
|
4
|
-
"chromedriver-v36.
|
|
5
|
-
"chromedriver-v36.
|
|
6
|
-
"chromedriver-v36.
|
|
7
|
-
"chromedriver-v36.
|
|
8
|
-
"chromedriver-v36.
|
|
9
|
-
"chromedriver-v36.
|
|
10
|
-
"chromedriver-v36.
|
|
11
|
-
"chromedriver-v36.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v36.
|
|
14
|
-
"electron-v36.
|
|
15
|
-
"electron-v36.
|
|
16
|
-
"electron-v36.
|
|
17
|
-
"electron-v36.
|
|
18
|
-
"electron-v36.
|
|
19
|
-
"electron-v36.
|
|
20
|
-
"electron-v36.
|
|
21
|
-
"electron-v36.
|
|
22
|
-
"electron-v36.
|
|
23
|
-
"electron-v36.
|
|
24
|
-
"electron-v36.
|
|
25
|
-
"electron-v36.
|
|
26
|
-
"electron-v36.
|
|
27
|
-
"electron-v36.
|
|
28
|
-
"electron-v36.
|
|
29
|
-
"electron-v36.
|
|
30
|
-
"electron-v36.
|
|
31
|
-
"electron-v36.
|
|
32
|
-
"electron-v36.
|
|
33
|
-
"electron-v36.
|
|
34
|
-
"electron-v36.
|
|
35
|
-
"electron-v36.
|
|
36
|
-
"electron-v36.
|
|
37
|
-
"electron-v36.
|
|
38
|
-
"electron-v36.
|
|
39
|
-
"electron-v36.
|
|
40
|
-
"electron-v36.
|
|
41
|
-
"electron-v36.
|
|
42
|
-
"electron-v36.
|
|
43
|
-
"electron-v36.
|
|
44
|
-
"electron-v36.
|
|
45
|
-
"electron-v36.
|
|
46
|
-
"electron-v36.
|
|
47
|
-
"electron-v36.
|
|
48
|
-
"electron-v36.
|
|
49
|
-
"electron-v36.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v36.
|
|
52
|
-
"ffmpeg-v36.
|
|
53
|
-
"ffmpeg-v36.
|
|
54
|
-
"ffmpeg-v36.
|
|
55
|
-
"ffmpeg-v36.
|
|
56
|
-
"ffmpeg-v36.
|
|
57
|
-
"ffmpeg-v36.
|
|
58
|
-
"ffmpeg-v36.
|
|
59
|
-
"ffmpeg-v36.
|
|
60
|
-
"ffmpeg-v36.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v36.
|
|
63
|
-
"libcxx-objects-v36.
|
|
64
|
-
"libcxx-objects-v36.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v36.
|
|
68
|
-
"mksnapshot-v36.
|
|
69
|
-
"mksnapshot-v36.
|
|
70
|
-
"mksnapshot-v36.
|
|
71
|
-
"mksnapshot-v36.
|
|
72
|
-
"mksnapshot-v36.
|
|
73
|
-
"mksnapshot-v36.
|
|
74
|
-
"mksnapshot-v36.
|
|
75
|
-
"mksnapshot-v36.
|
|
76
|
-
"mksnapshot-v36.
|
|
2
|
+
"chromedriver-v36.5.0-darwin-arm64.zip": "b48b21d83c0a5d93a22966bf2ab97c208eea4ca0f09d0db1e12a34cdb40bfd51",
|
|
3
|
+
"chromedriver-v36.5.0-darwin-x64.zip": "5e465b184293ad2606f426e6f80c179ad24193600648bcf6b573b92b9fa1c5b8",
|
|
4
|
+
"chromedriver-v36.5.0-linux-arm64.zip": "dbc2e1ae3181431714dceb439d6de23fe8f32f665da73a024e5c40d2c584d610",
|
|
5
|
+
"chromedriver-v36.5.0-linux-armv7l.zip": "ec3d2af2d94877615d4195296110236be24a53600215cc3a9c12a6cbc307e383",
|
|
6
|
+
"chromedriver-v36.5.0-linux-x64.zip": "92fcb9731e00c0d4ba60e11e2852d8bd9d6bf38291e37128d78e0058272d2955",
|
|
7
|
+
"chromedriver-v36.5.0-mas-arm64.zip": "35e4598f046b7e1e7376adc3fa7c78fbb07394b3e8fba322ff3885264b3f79ea",
|
|
8
|
+
"chromedriver-v36.5.0-mas-x64.zip": "be3382a37ded08b1881787a81d1a7da245fce89383599b0ce726727faefb9e30",
|
|
9
|
+
"chromedriver-v36.5.0-win32-arm64.zip": "fcdd4faee5f7ea02217c831450d8fa1cd14b1413993741a92ccdc58cd4b588d8",
|
|
10
|
+
"chromedriver-v36.5.0-win32-ia32.zip": "34d998da5a185f996761093a86875f95f69e7cb3ab801ec2352c21df28ee21f4",
|
|
11
|
+
"chromedriver-v36.5.0-win32-x64.zip": "e3c2f5886d299f4001fe8a6790a835e256416779651a17ea794cf5a62c8d1ce6",
|
|
12
|
+
"electron-api.json": "570c4e9eab90ea311637f3ab4982517e8b2db0ae399685d658083c06b07b27bb",
|
|
13
|
+
"electron-v36.5.0-darwin-arm64-dsym-snapshot.zip": "4245eb4faffc4602a0d36d50a1d91f2db74cdf82add4280120bfb94f614806b4",
|
|
14
|
+
"electron-v36.5.0-darwin-arm64-dsym.zip": "bb71a43f08c97dae5a257a1766c02c943cbd6bd8864af8f0691bd6112c594a19",
|
|
15
|
+
"electron-v36.5.0-darwin-arm64-symbols.zip": "718047a5d887ebe2b26f1aedf9e53b1ca350e5be20cbfa804dec1a34fd4556cb",
|
|
16
|
+
"electron-v36.5.0-darwin-arm64.zip": "d416d9ed16e4739a73c61260db5dc7f6e42d32f4cb849e4a4f9bfdd5f5b430fa",
|
|
17
|
+
"electron-v36.5.0-darwin-x64-dsym-snapshot.zip": "36f7cd4e531699ff5ece272869f7e2a044917e1ebc4bfd40784008f14e5faee3",
|
|
18
|
+
"electron-v36.5.0-darwin-x64-dsym.zip": "a56af9f8db955cd9ae7f1e4cd797f6f1a1e0b767f394d3c5ab5344e2246eb75c",
|
|
19
|
+
"electron-v36.5.0-darwin-x64-symbols.zip": "d2bfcc3542dcd2fb069b740439a08f49c5b8dbed08435450cf1cc3ec0192ee5b",
|
|
20
|
+
"electron-v36.5.0-darwin-x64.zip": "d8a283648c39abe0ada9e697502c29a61463ce2f1ca7d83a8fb684cf9f7a9190",
|
|
21
|
+
"electron-v36.5.0-linux-arm64-debug.zip": "428449d02503055458cd27c6779cd89b0f7111b03f037f266330157a820dae5b",
|
|
22
|
+
"electron-v36.5.0-linux-arm64-symbols.zip": "c58b1e7612d238ff74b5b2b95683e5093ec57dc8f227d1ccc3db920a8bfe0c39",
|
|
23
|
+
"electron-v36.5.0-linux-arm64.zip": "b812805ea64f82e1a4be2faf6008f4a8f89cd62379946c72d48082f084ca9229",
|
|
24
|
+
"electron-v36.5.0-linux-armv7l-debug.zip": "428449d02503055458cd27c6779cd89b0f7111b03f037f266330157a820dae5b",
|
|
25
|
+
"electron-v36.5.0-linux-armv7l-symbols.zip": "686bd4d35e3e3c3c3fbf58425017398cdfe491643ba13e5c73a269ccefddd5df",
|
|
26
|
+
"electron-v36.5.0-linux-armv7l.zip": "a09abea23edb7aab5d14777446c5c30383decb5ed9c658530c10390f37721614",
|
|
27
|
+
"electron-v36.5.0-linux-x64-debug.zip": "3e3781632f1545a04ec677f86c1e67964577ed417ecb760fd803817ea92dc83a",
|
|
28
|
+
"electron-v36.5.0-linux-x64-symbols.zip": "e1ec0d2ddc9740696d85d94729d9ac27cd867b74db9232b6c17f7e7697716dab",
|
|
29
|
+
"electron-v36.5.0-linux-x64.zip": "3122afe29cb07013df739bd23534e7f54f25c685d8b0f8781a00957752f2d873",
|
|
30
|
+
"electron-v36.5.0-mas-arm64-dsym-snapshot.zip": "eec5620280e90edf465d4199f340f25abfdfcbde19979e34332424e87f9e9ac8",
|
|
31
|
+
"electron-v36.5.0-mas-arm64-dsym.zip": "32d357cf80080898c1c87601f7281356229666a7f42ba5b8894580d40472e967",
|
|
32
|
+
"electron-v36.5.0-mas-arm64-symbols.zip": "147c8a01b9eccbc2b6466f5d201030c82189f49fadc58625a7b5c28765a21f40",
|
|
33
|
+
"electron-v36.5.0-mas-arm64.zip": "15cf0f5a87c957d6e4e0e91388d7ecdfc47f9555bb0228ee19bcd0f5021bd776",
|
|
34
|
+
"electron-v36.5.0-mas-x64-dsym-snapshot.zip": "f8e57ee15536eae67df03d4fed02d78f82f2858f036a43391ae5cdf0d8859376",
|
|
35
|
+
"electron-v36.5.0-mas-x64-dsym.zip": "91165deeed03a8d8c66a9b0d73fb909ad48ea18331083a7d6dc629e789637915",
|
|
36
|
+
"electron-v36.5.0-mas-x64-symbols.zip": "2d91bb79ebdb20ba91fc9f11314e4b3ed0de33c8bb5f369fa725c145ed850a89",
|
|
37
|
+
"electron-v36.5.0-mas-x64.zip": "deb3a22c7e137e7513e637521af05512b9715cde75df64dd438405d8f7037651",
|
|
38
|
+
"electron-v36.5.0-win32-arm64-pdb.zip": "aac9639a055e50eac127e4662b0630ffcfb479feb96f94161b8c64e8be12e8f2",
|
|
39
|
+
"electron-v36.5.0-win32-arm64-symbols.zip": "b27868dcc4365969dffe707c852cf4ed3d0ae121054a234467d105cbf8c17756",
|
|
40
|
+
"electron-v36.5.0-win32-arm64-toolchain-profile.zip": "3b60892b95a894a2a9fac312d7c4294c2dbb85b8b91cecf7bb2b255f68e5d312",
|
|
41
|
+
"electron-v36.5.0-win32-arm64.zip": "667a2ade5a374d02996d52889bfee898315c82bc1829775cfc8ca8c1abb261cd",
|
|
42
|
+
"electron-v36.5.0-win32-ia32-pdb.zip": "8e567e7fce91f0a17e5cefa5a260fad68a3696c260eff65d460e9ad3ca15a19c",
|
|
43
|
+
"electron-v36.5.0-win32-ia32-symbols.zip": "ca521cfaf79b7dc3a29eeab5a57aa7c4c65191c2fe614959330eefb2f7be42c7",
|
|
44
|
+
"electron-v36.5.0-win32-ia32-toolchain-profile.zip": "3b60892b95a894a2a9fac312d7c4294c2dbb85b8b91cecf7bb2b255f68e5d312",
|
|
45
|
+
"electron-v36.5.0-win32-ia32.zip": "cb9a263ba2af94d6a909c6144b78e00fe7e087a9ad37f20e6728b1936be12874",
|
|
46
|
+
"electron-v36.5.0-win32-x64-pdb.zip": "0bbf2cf6c49d64d3ff0934fcb78fdec17b2c89c4a49681cfe965e9849bb1feb8",
|
|
47
|
+
"electron-v36.5.0-win32-x64-symbols.zip": "599731434adf6457dc24d2963d863174a7b097bfdf3ef2717dfc517d5fa2064b",
|
|
48
|
+
"electron-v36.5.0-win32-x64-toolchain-profile.zip": "3b60892b95a894a2a9fac312d7c4294c2dbb85b8b91cecf7bb2b255f68e5d312",
|
|
49
|
+
"electron-v36.5.0-win32-x64.zip": "d25ad3cdf24e5f4d9c27f8838a6761166fb4af623aef59dfb372737316162af9",
|
|
50
|
+
"electron.d.ts": "73ca791f0ad937f8c0cea5f7d1a9c19252986586223bb585fcc7d5a77329fd5c",
|
|
51
|
+
"ffmpeg-v36.5.0-darwin-arm64.zip": "b15f7906d52b37344c9d2696d5737006fbf3eb8843ff04f2a791b928052a34fe",
|
|
52
|
+
"ffmpeg-v36.5.0-darwin-x64.zip": "3040205b3f0f495ab0681433fbfb2bf9ab0bfb0f5ad954ddb1738c260f523563",
|
|
53
|
+
"ffmpeg-v36.5.0-linux-arm64.zip": "5f5d64f4a1c2ab8b8060c3e8902c65fcdec6cb69df9c46826293d3449a197e3e",
|
|
54
|
+
"ffmpeg-v36.5.0-linux-armv7l.zip": "ef94ac99b8db1bfd274b8acade761fceffd3f49e2c21967095d4472a1e1b5060",
|
|
55
|
+
"ffmpeg-v36.5.0-linux-x64.zip": "48c0fd1198d7f4a6a6044e71169e1edf500f95e69e39dce8306e65525e1cad0b",
|
|
56
|
+
"ffmpeg-v36.5.0-mas-arm64.zip": "b15f7906d52b37344c9d2696d5737006fbf3eb8843ff04f2a791b928052a34fe",
|
|
57
|
+
"ffmpeg-v36.5.0-mas-x64.zip": "3040205b3f0f495ab0681433fbfb2bf9ab0bfb0f5ad954ddb1738c260f523563",
|
|
58
|
+
"ffmpeg-v36.5.0-win32-arm64.zip": "8c29abe3a8db134863a959597881e6674f36fb26c237c712c74f80a38ebc7a4d",
|
|
59
|
+
"ffmpeg-v36.5.0-win32-ia32.zip": "8c29abe3a8db134863a959597881e6674f36fb26c237c712c74f80a38ebc7a4d",
|
|
60
|
+
"ffmpeg-v36.5.0-win32-x64.zip": "8c29abe3a8db134863a959597881e6674f36fb26c237c712c74f80a38ebc7a4d",
|
|
61
|
+
"hunspell_dictionaries.zip": "6f50886110ea5e74f9f6e2bd1e55461c849a8e1598dc0cd0e4b3edbc2af18ea1",
|
|
62
|
+
"libcxx-objects-v36.5.0-linux-arm64.zip": "9c8d6368405f2b793cca7dfe4d0d70acc3b4ef741fd99f8d3bd6dc3b0bc4982e",
|
|
63
|
+
"libcxx-objects-v36.5.0-linux-armv7l.zip": "b0ae57141d52d8c79ebc5bd4c273c150d75fac9cff6343abdfa9844103fb9696",
|
|
64
|
+
"libcxx-objects-v36.5.0-linux-x64.zip": "68f1070f6f90fe34824ffba5e9629857c24db66ba8eeaac6fbfa6dd72a831cf7",
|
|
65
|
+
"libcxx_headers.zip": "26e2366f98153e748b63c1d8a1373b5d7d3de417ad0e72e396ee8f5c1da9875f",
|
|
66
|
+
"libcxxabi_headers.zip": "8d2be3ff3947761bede1eb0ca33be1b37e234a0fcbada9f4debc128891f89ac9",
|
|
67
|
+
"mksnapshot-v36.5.0-darwin-arm64.zip": "892a7dc57865d1d1e49d05277b92ea923a1e163d2dfe75dbb88adae5cb9d44d3",
|
|
68
|
+
"mksnapshot-v36.5.0-darwin-x64.zip": "e8c74426757a6900a17b06fbfe413c314fd3050dbba1de919ebaf8b412980348",
|
|
69
|
+
"mksnapshot-v36.5.0-linux-arm64-x64.zip": "e8c7f6e4d5a983e41b2d30782843a3e20e0485ec97f34f46297789981e4a2836",
|
|
70
|
+
"mksnapshot-v36.5.0-linux-armv7l-x64.zip": "3428205aa697e2bbb5638bde72721b804e88fc28e7ac6b157ed540f0e338c12b",
|
|
71
|
+
"mksnapshot-v36.5.0-linux-x64.zip": "cb3551764abd46a7c871d8fedf8846d9d52b5d02df0a9e199a1c0a128dfd619a",
|
|
72
|
+
"mksnapshot-v36.5.0-mas-arm64.zip": "b9c2aeab9ea6894a9f7e287a3e5d42e905f24fc1fa2823368fa03c634ecec5f1",
|
|
73
|
+
"mksnapshot-v36.5.0-mas-x64.zip": "6404cb9c726940be80490f54e593888ef48cfe08c4265d5f061b0ad4e749ff56",
|
|
74
|
+
"mksnapshot-v36.5.0-win32-arm64-x64.zip": "07b4c7fc63beab68b69faf0bf728437f4a78585e1668ec9c5bcfe066598f1666",
|
|
75
|
+
"mksnapshot-v36.5.0-win32-ia32.zip": "d7e6a5231e6204635cb1ff2c616c82e9da8c83a1410e106264ce9ac9582bc42f",
|
|
76
|
+
"mksnapshot-v36.5.0-win32-x64.zip": "e87d510a40f622beaefc248c7d7a9856220302fd5cb007aa7388937aa19b816c"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 36.
|
|
1
|
+
// Type definitions for Electron 36.5.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
|
|
@@ -2718,6 +2718,12 @@ declare namespace Electron {
|
|
|
2718
2718
|
* @platform darwin,win32
|
|
2719
2719
|
*/
|
|
2720
2720
|
isClosable(): boolean;
|
|
2721
|
+
/**
|
|
2722
|
+
* whether or not content protection is currently enabled.
|
|
2723
|
+
*
|
|
2724
|
+
* @platform darwin,win32
|
|
2725
|
+
*/
|
|
2726
|
+
isContentProtected(): boolean;
|
|
2721
2727
|
/**
|
|
2722
2728
|
* Whether the window is destroyed.
|
|
2723
2729
|
*/
|
|
@@ -5364,6 +5370,12 @@ declare namespace Electron {
|
|
|
5364
5370
|
* @platform darwin,win32
|
|
5365
5371
|
*/
|
|
5366
5372
|
isClosable(): boolean;
|
|
5373
|
+
/**
|
|
5374
|
+
* whether or not content protection is currently enabled.
|
|
5375
|
+
*
|
|
5376
|
+
* @platform darwin,win32
|
|
5377
|
+
*/
|
|
5378
|
+
isContentProtected(): boolean;
|
|
5367
5379
|
/**
|
|
5368
5380
|
* Whether the window is destroyed.
|
|
5369
5381
|
*/
|
|
@@ -8238,6 +8250,32 @@ declare namespace Electron {
|
|
|
8238
8250
|
vendorId: number;
|
|
8239
8251
|
}
|
|
8240
8252
|
|
|
8253
|
+
class ImageView extends View {
|
|
8254
|
+
|
|
8255
|
+
// Docs: https://electronjs.org/docs/api/image-view
|
|
8256
|
+
|
|
8257
|
+
/**
|
|
8258
|
+
* Emitted when the view's bounds have changed in response to being laid out. The
|
|
8259
|
+
* new bounds can be retrieved with `view.getBounds()`.
|
|
8260
|
+
*/
|
|
8261
|
+
on(event: 'bounds-changed', listener: () => void): this;
|
|
8262
|
+
off(event: 'bounds-changed', listener: () => void): this;
|
|
8263
|
+
once(event: 'bounds-changed', listener: () => void): this;
|
|
8264
|
+
addListener(event: 'bounds-changed', listener: () => void): this;
|
|
8265
|
+
removeListener(event: 'bounds-changed', listener: () => void): this;
|
|
8266
|
+
/**
|
|
8267
|
+
* ImageView
|
|
8268
|
+
*/
|
|
8269
|
+
constructor();
|
|
8270
|
+
/**
|
|
8271
|
+
* Sets the image for this `ImageView`. Note that only image formats supported by
|
|
8272
|
+
* `NativeImage` can be used with an `ImageView`.
|
|
8273
|
+
*
|
|
8274
|
+
* @experimental
|
|
8275
|
+
*/
|
|
8276
|
+
setImage(image: NativeImage): void;
|
|
8277
|
+
}
|
|
8278
|
+
|
|
8241
8279
|
interface InAppPurchase extends NodeJS.EventEmitter {
|
|
8242
8280
|
|
|
8243
8281
|
// Docs: https://electronjs.org/docs/api/in-app-purchase
|
|
@@ -11217,7 +11255,8 @@ declare namespace Electron {
|
|
|
11217
11255
|
* line flag is provided `--password-store="kwallet"`.
|
|
11218
11256
|
* * `kwallet5` - When the desktop session is `kde5` or if the following command
|
|
11219
11257
|
* line flag is provided `--password-store="kwallet5"`.
|
|
11220
|
-
* * `kwallet6` - When the desktop session is `kde6
|
|
11258
|
+
* * `kwallet6` - When the desktop session is `kde6` or if the following command
|
|
11259
|
+
* line flag is provided `--password-store="kwallet6"`.
|
|
11221
11260
|
* * `unknown` - When the function is called before app has emitted the `ready`
|
|
11222
11261
|
* event.
|
|
11223
11262
|
*
|
|
@@ -14961,6 +15000,21 @@ declare namespace Electron {
|
|
|
14961
15000
|
* Input properties.
|
|
14962
15001
|
*/
|
|
14963
15002
|
input: Input) => void): this;
|
|
15003
|
+
/**
|
|
15004
|
+
* Emitted before dispatching mouse events in the page.
|
|
15005
|
+
*
|
|
15006
|
+
* Calling `event.preventDefault` will prevent the page mouse events.
|
|
15007
|
+
*/
|
|
15008
|
+
on(event: 'before-mouse-event', listener: (event: Event,
|
|
15009
|
+
mouse: MouseInputEvent) => void): this;
|
|
15010
|
+
off(event: 'before-mouse-event', listener: (event: Event,
|
|
15011
|
+
mouse: MouseInputEvent) => void): this;
|
|
15012
|
+
once(event: 'before-mouse-event', listener: (event: Event,
|
|
15013
|
+
mouse: MouseInputEvent) => void): this;
|
|
15014
|
+
addListener(event: 'before-mouse-event', listener: (event: Event,
|
|
15015
|
+
mouse: MouseInputEvent) => void): this;
|
|
15016
|
+
removeListener(event: 'before-mouse-event', listener: (event: Event,
|
|
15017
|
+
mouse: MouseInputEvent) => void): this;
|
|
14964
15018
|
/**
|
|
14965
15019
|
* Emitted when the `WebContents` loses focus.
|
|
14966
15020
|
*/
|
|
@@ -16321,9 +16375,11 @@ declare namespace Electron {
|
|
|
16321
16375
|
* the `deviceId` of the device to be selected. Passing an empty string to
|
|
16322
16376
|
* `callback` will cancel the request.
|
|
16323
16377
|
*
|
|
16324
|
-
* If
|
|
16325
|
-
*
|
|
16326
|
-
*
|
|
16378
|
+
* If no event listener is added for this event, all bluetooth requests will be
|
|
16379
|
+
* cancelled.
|
|
16380
|
+
*
|
|
16381
|
+
* If `event.preventDefault` is not called when handling this event, the first
|
|
16382
|
+
* available device will be automatically selected.
|
|
16327
16383
|
*
|
|
16328
16384
|
* Due to the nature of bluetooth, scanning for devices when
|
|
16329
16385
|
* `navigator.bluetooth.requestDevice` is called may take time and will cause
|
|
@@ -19487,6 +19543,16 @@ declare namespace Electron {
|
|
|
19487
19543
|
* `only-if-cached`.
|
|
19488
19544
|
*/
|
|
19489
19545
|
cache?: ('default' | 'no-store' | 'reload' | 'no-cache' | 'force-cache' | 'only-if-cached');
|
|
19546
|
+
/**
|
|
19547
|
+
* can be `throttled`, `idle`, `lowest`, `low`, `medium`, or `highest`. Defaults to
|
|
19548
|
+
* `idle`.
|
|
19549
|
+
*/
|
|
19550
|
+
priority?: ('throttled' | 'idle' | 'lowest' | 'low' | 'medium' | 'highest');
|
|
19551
|
+
/**
|
|
19552
|
+
* the incremental loading flag as part of HTTP extensible priorities (RFC 9218).
|
|
19553
|
+
* Default is `true`.
|
|
19554
|
+
*/
|
|
19555
|
+
priorityIncremental?: boolean;
|
|
19490
19556
|
}
|
|
19491
19557
|
|
|
19492
19558
|
interface CloseOpts {
|
|
@@ -23553,6 +23619,7 @@ declare namespace Electron {
|
|
|
23553
23619
|
type Extensions = Electron.Extensions;
|
|
23554
23620
|
const globalShortcut: GlobalShortcut;
|
|
23555
23621
|
type GlobalShortcut = Electron.GlobalShortcut;
|
|
23622
|
+
class ImageView extends Electron.ImageView {}
|
|
23556
23623
|
const inAppPurchase: InAppPurchase;
|
|
23557
23624
|
type InAppPurchase = Electron.InAppPurchase;
|
|
23558
23625
|
type IncomingMessage = Electron.IncomingMessage;
|
|
@@ -24527,6 +24594,7 @@ declare namespace Electron {
|
|
|
24527
24594
|
type Extensions = Electron.Extensions;
|
|
24528
24595
|
const globalShortcut: GlobalShortcut;
|
|
24529
24596
|
type GlobalShortcut = Electron.GlobalShortcut;
|
|
24597
|
+
class ImageView extends Electron.ImageView {}
|
|
24530
24598
|
const inAppPurchase: InAppPurchase;
|
|
24531
24599
|
type InAppPurchase = Electron.InAppPurchase;
|
|
24532
24600
|
type IncomingMessage = Electron.IncomingMessage;
|
package/package.json
CHANGED