# electron-pane-window

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

Latest version **0.0.1** (published 2015-10-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install electron-pane-window
pnpm add electron-pane-window
yarn add electron-pane-window
bun add electron-pane-window
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2015-10-27 |
| First published | 2015-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | ragingwind |
| Maintainers | ragingwind |
| Keywords | electron, pane, electron-pane-window |

## Links

- npm: https://www.npmjs.com/package/electron-pane-window
- Repository: https://github.com/ragingwind/electron-pane-window
- Homepage: https://github.com/ragingwind/electron-pane-window#readme
- Issues: https://github.com/ragingwind/electron-pane-window/issues
- npm.io page: https://npm.io/package/electron-pane-window

## Dependencies (1)

- [object-assign](https://npm.io/package/object-assign.md) ^4.0.1

## Recent versions

- 0.0.1 (latest) — 2015-10-27

## README

# electron-pane-window

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

![](https://cloud.githubusercontent.com/assets/124117/10764241/7a8fd4a2-7d10-11e5-8e90-b6d5fde4b4d7.png)

## Install

```
$ npm install --save electron-pane-window
```

## Usage

```js
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](https://github.com/atom/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions). 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](http://ragingwind.md)

---
_Source: https://npm.io/package/electron-pane-window · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
