electronStore: {
    handleElectronStoreChange: ((callback, subChannel) => void);
    removeElectronStoreChangeHandler: ((subChannel) => void);
    get(key) => any;
    set(property, val, setMask?) => void;
} = window.electron.store

Type declaration

  • handleElectronStoreChange: ((callback, subChannel) => void)
      • (callback, subChannel): void
      • Register an event listener for the electronStoreDidChange message (sent by electron-store onDidAnyChange method via mainWindow.webContents.send)

        Parameters

        • callback: any

          event handler for the electronStoreDidChange event

        • subChannel: string

        Returns void

  • removeElectronStoreChangeHandler: ((subChannel) => void)
      • (subChannel): void
      • Remove the event listener for the electronStoreDidChange event.

        Parameters

        • subChannel: any

        Returns void

  • get:function
  • set:function
    • Parameters

      • property: any
      • val: any
      • setMask: boolean = true

      Returns void

Generated using TypeDoc