Nuclear Potato Monster

    electron-frame

    0.7.1 • Public • Published

    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)
    })

    Install

    npm i electron-frame

    DownloadsWeekly Downloads

    103

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    19.5 kB

    Total Files

    16

    Last publish

    Collaborators

    • arthur-lobo