Package Exports
- electron-frame
- electron-frame/main/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (electron-frame) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Electron Frame
Electron Frame is a simple and customizable window frame build on HTML for you application.
Como usar ?
Instale o pacote usando
npm install electron-frame
ou
yarn add electron-frame
No processo principal adicione
require('electron-frame/main')
No processo renderizador (preload.js) adicione:
const { insertFrame } = require('electron-frame/renderer')
document.addEventListener("DOMContentLoaded", ()=> {
insertFrame(options)
})
How to use ?
Install the package using
npm install electron-frame
or
yarn add electron-frame
In the main process add:
require('electron-frame/main')
In the renderer process (preload.js) add:
const { insertFrame } = require('electron-frame/renderer')
document.addEventListener("DOMContentLoaded", ()=> {
insertFrame(options)
})