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 built with HTML for your application.
ScreenShots
Windows Frame


MacOS Frame


Screenshots taken on dicionario.js projetct.
How to use
- Install electron-frame in your project with
yarn add electron-frameornpm install electron-frame - On the main process, add:
require("electron-frame/main")- On preload script, add:
const { ElectronFrame } = require("electron-frame/renderer")
window.addEventListener('DOMContentLoaded', () => {
const frame = new ElectronFrame()
frame.insert()
})- You can customize your frame by passing some options in the ElectronFrame class instance or using the special class methods.