@vueuse/electron
v12.1.0
Published
Electron renderer process modules for VueUse
Downloads
1,789
Maintainers
Readme
@vueuse/electron
This is an add-on of VueUse, enables electron renderer process API as Composition API.
Install
npm i @vueuse/electron electron
Functions
@vueuse/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
License
MIT License © 2021-PRESENT Archer Gu