Skip to content

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

Notifications You must be signed in to change notification settings

tuj84257/electron-bottom-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-bottom-window

An Electron module that allows you to stick the browser window to the bottom of the z-index stack.

Installation

npm install electron-bottom-window

Usage

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(); 
});

👉 This module is based on this gist 👈

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published