@terminus-term/windows-blurbehind
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

windows-blurbehind

Invoke like this:

const bb = require('window-blurbehind');
bb.DwmEnableBlurBehindWindow(myWindow, shouldEnable);

Where the first parameter can either be an Electron BrowserWindow or a window handle stored as Buffer.

shouldEnable is a boolean indicating whether the blur behind is to be turned on or off.

Tips for usage on Electron

For best user and developer experience, do not set transparent to true. It has many shortcomings, such as no support for maximised window state and shadows. Instead set backgroundColor to #00000000.

/@terminus-term/windows-blurbehind/

    Package Sidebar

    Install

    npm i @terminus-term/windows-blurbehind

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.57 kB

    Total Files

    8

    Last publish

    Collaborators

    • eugenepankov