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).
- Host: GitHub
- URL: https://github.com/tuj84257/electron-bottom-window
- Owner: tuj84257
- Created: 2021-12-19T18:15:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T11:47:58.000Z (about 4 years ago)
- Last Synced: 2025-10-20T09:26:16.696Z (6 months ago)
- Topics: browserwindow, electron, z-index
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: