# electron-bottom-window

> An electron module that allows you to send the browser window to the bottom of the z-index stack.

Latest version **1.0.3** (published 2022-04-02) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-04-02 |
| First published | 2022-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ardit Duhanxhiu |
| Maintainers | tuj84257 |
| Keywords | Electron, window, bottom, z-index |

## Links

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

## Dependencies (3)

- [ref-napi](https://npm.io/package/ref-napi.md) ^3.0.3
- [ref-struct-di](https://npm.io/package/ref-struct-di.md) ^1.1.1
- [win-setwindowpos](https://npm.io/package/win-setwindowpos.md) ^2.1.0

## Recent versions

- 1.0.3 (latest) — 2022-04-02

## README

# electron-bottom-window

An Electron module that allows you to stick the browser window to the bottom of the z-index stack.

## Installation

```javascript
npm install electron-bottom-window
```

## Usage

```javascript
const { app, BrowserWindow } = require('electron')
const { stickToBottom } = require('electron-bottom-window');

function createWindow() {
    const mainWindow = new BrowserWindow({
        width: 800,
        height: 600,
        ...
    });
    mainWindow.loadFile('index.html');

    // Stick window to bottom
    stickToBottom(mainWindow);
}

app.whenReady().then(() => {
	createWindow(); 
});
```

----

:point_right: This module is based on this <a href="https://gist.github.com/lowfront/528a658d25e4357c07c8ea4f1b2cb46c">gist</a> :point_left:

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