Variable electronStoreConst
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
-
Parameters
-
callback: any
-
subChannel: string
Returns void
-
removeElectronStoreChangeHandler: ((subChannel) => void)
-
- (subChannel): void
-
Returns void
-
get:function
- get(key): any
-
Returns any
-
set:function
- set(property, val, setMask?): void
-
Parameters
-
property: any
-
val: any
-
setMask: boolean = true
Returns void
Register an event listener for the
electronStoreDidChange
message (sent by electron-storeonDidAnyChange
method viamainWindow.webContents.send
)