Skip to content

ElectronModule

Unofficial

The Electron library module type, representing the window.electron object.

Import:

import type { ElectronModule } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronModule

Properties

PropertyTypeDescription
clipboardElectronClipboardElectron clipboard instance for accessing the system clipboard.
contextBridgeElectronContextBridgeElectron contextBridge module for exposing APIs across isolated worlds.
crashReporterElectronCrashReporterElectron crashReporter module for submitting crash reports.
ipcRendererElectronIpcRendererElectron IPC renderer instance for the current renderer process.
nativeImageElectronNativeImageModuleElectron nativeImage module for creating images from files, buffers, and data URLs.
remoteElectronRemoteElectron remote module instance for accessing main process modules.
shellElectronShellElectron shell instance for managing files and URLs.
webFrameElectronWebFrameElectron webFrame module for controlling the current renderer frame.
webUtilsElectronWebUtilsElectron webUtils module for resolving renderer-side objects to file system paths.

Links to this page: