@solidjs-use/electron
v2.3.0
Published
Electron renderer process modules for solidjs-use inspired completely by VueUse
Downloads
16
Maintainers
Readme
@solidjs-use/electron
This is an add-on of solidjs-use, enables electron renderer process API as Composition API.
Install
npm i solidjs-use @solidjs-use/electron electron
Functions
@solidjs-use/electron
provides the following functions
useIpcRenderer
— provides ipcRenderer and all of its APIsuseIpcRendererInvoke
— reactive ipcRenderer.invoke API resultuseIpcRendererOn
— use ipcRenderer.on with ease and ipcRenderer.removeListener automatically on unmounteduseZoomFactor
— reactive WebFrame zoom factoruseZoomLevel
— reactive WebFrame zoom level