electron-pane-window
v0.0.1
Published
Create a pane style window, no frame, no titlebar, stick the window on the sides of screen
Downloads
4
Maintainers
Readme
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
andbottom
setPositionTo(side)
Set position of window to on side of screen
side
: which side of screen to stick to.top
,left
,right
andbottom
Run demo
$ npm start
License
MIT © ragingwind