Trilium Electron API
    Preparing search index...

    Variable electronApiConst

    electronApi: ElectronApi = {}

    The window.electronApi global gives the renderer access to Electron-only functionality through the preload bridge. See ElectronApi for the full surface.

    Only available in the Electron desktop build — window.electronApi is undefined in the browser/server build and in the standalone (WASM) build, so always guard calls with if (window.electronApi) from frontend scripts.