ngx-electron-fresh
Version:
An Angular wrapper for Electron's Renderer APIs
26 lines (25 loc) • 865 B
TypeScript
import * as Electron from 'electron';
export declare class ElectronService {
private _electron;
private readonly electron;
/**
* determines if SPA is running in Electron
*/
readonly isElectronApp: boolean;
readonly isMacOS: boolean;
readonly isWindows: boolean;
readonly isLinux: boolean;
readonly isX86: boolean;
readonly isX64: boolean;
readonly isArm: boolean;
readonly desktopCapturer: Electron.DesktopCapturer;
readonly ipcRenderer: Electron.IpcRenderer;
readonly remote: any;
readonly webFrame: Electron.WebFrame;
readonly clipboard: Electron.Clipboard;
readonly crashReporter: Electron.CrashReporter;
readonly process: any;
readonly nativeImage: typeof Electron.nativeImage;
readonly screen: Electron.Screen;
readonly shell: Electron.Shell;
}