Miss any of our Open RFC calls?Watch the recordings here! »

electron-pane-window

0.0.1 • Public • Published

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

Install

npm i electron-pane-window

DownloadsWeekly Downloads

3

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar