Skip to content

Create a pane style window, no frame, no titlebar, stick the window on the sides of screen

License

Notifications You must be signed in to change notification settings

jasondavis/electron-pane-window

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-pane-window

Create a pane style window, no frame, no titlebar, stick the window on the sides of screen

Install

$ npm install --save electron-pane-window

Usage

const PaneBrowserwindow = require('electron-pane-window');

win = new PaneBrowserWindow({
 side: 'left',
 'always-on-top': false,
 width: 600
});

API

PaneBrowserwindow(options)

options

Type: object

Almost same with options of Browser Window of Electron. Here is additional options for this:

  • side: which side of screen to stick to. top, left, right and bottom

setPositionTo(side)

Set position of window to on side of screen

  • side: which side of screen to stick to. top, left, right and bottom

Run demo

$ npm start

License

MIT © ragingwind

About

Create a pane style window, no frame, no titlebar, stick the window on the sides of screen

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%