electron-types 39.2.3 → 39.2.4
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/dist/electron.d.ts +13 -3
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 39.2.
|
|
1
|
+
// Type definitions for Electron 39.2.4
|
|
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
|
|
@@ -3892,7 +3892,9 @@ declare namespace Electron {
|
|
|
3892
3892
|
trafficLightPosition?: Point;
|
|
3893
3893
|
/**
|
|
3894
3894
|
* Makes the window transparent. Default is `false`. On Windows, does not work
|
|
3895
|
-
* unless the window is frameless.
|
|
3895
|
+
* unless the window is frameless. When you add a `View` to a `BaseWindow`, you'll
|
|
3896
|
+
* need to call `view.setBackgroundColor` with a transparent background color on
|
|
3897
|
+
* that view to make its background transparent as well.
|
|
3896
3898
|
*/
|
|
3897
3899
|
transparent?: boolean;
|
|
3898
3900
|
/**
|
|
@@ -5663,6 +5665,9 @@ declare namespace Electron {
|
|
|
5663
5665
|
/**
|
|
5664
5666
|
* the promise will resolve when the page has finished loading (see
|
|
5665
5667
|
* `did-finish-load`), and rejects if the page fails to load (see `did-fail-load`).
|
|
5668
|
+
* A noop rejection handler is already attached, which avoids unhandled rejection
|
|
5669
|
+
* errors. If the existing page has a beforeUnload handler, `did-fail-load` will be
|
|
5670
|
+
* called unless `will-prevent-unload` is handled.
|
|
5666
5671
|
*
|
|
5667
5672
|
* Same as `webContents.loadURL(url[, options])`.
|
|
5668
5673
|
*
|
|
@@ -17441,7 +17446,8 @@ declare namespace Electron {
|
|
|
17441
17446
|
* the promise will resolve when the page has finished loading (see
|
|
17442
17447
|
* `did-finish-load`), and rejects if the page fails to load (see `did-fail-load`).
|
|
17443
17448
|
* A noop rejection handler is already attached, which avoids unhandled rejection
|
|
17444
|
-
* errors.
|
|
17449
|
+
* errors. If the existing page has a beforeUnload handler, `did-fail-load` will be
|
|
17450
|
+
* called unless `will-prevent-unload` is handled.
|
|
17445
17451
|
*
|
|
17446
17452
|
* Loads the `url` in the window. The `url` must contain the protocol prefix, e.g.
|
|
17447
17453
|
* the `http://` or `file://`. If the load should bypass http cache then use the
|
|
@@ -24762,6 +24768,8 @@ declare namespace Electron {
|
|
|
24762
24768
|
type IncomingMessage = Electron.IncomingMessage;
|
|
24763
24769
|
const net: Net;
|
|
24764
24770
|
type Net = Electron.Net;
|
|
24771
|
+
const parentPort: ParentPort;
|
|
24772
|
+
type ParentPort = Electron.ParentPort;
|
|
24765
24773
|
const systemPreferences: SystemPreferences;
|
|
24766
24774
|
type SystemPreferences = Electron.SystemPreferences;
|
|
24767
24775
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
@@ -25119,6 +25127,8 @@ declare namespace Electron {
|
|
|
25119
25127
|
const netLog: NetLog;
|
|
25120
25128
|
type NetLog = Electron.NetLog;
|
|
25121
25129
|
class Notification extends Electron.Notification {}
|
|
25130
|
+
const parentPort: ParentPort;
|
|
25131
|
+
type ParentPort = Electron.ParentPort;
|
|
25122
25132
|
const powerMonitor: PowerMonitor;
|
|
25123
25133
|
type PowerMonitor = Electron.PowerMonitor;
|
|
25124
25134
|
const powerSaveBlocker: PowerSaveBlocker;
|
package/dist/version.json
CHANGED