An open API service indexing awesome lists of open source software.

https://github.com/tuj84257/electron-bottom-window

An electron module that allows you to stick the browser window to the bottom of the z-index stack (Windows only).
https://github.com/tuj84257/electron-bottom-window

browserwindow electron z-index

Last synced: 10 days ago
JSON representation

An electron module that allows you to stick the browser window to the bottom of the z-index stack (Windows only).

Awesome Lists containing this project

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 gist :point_left: