etw

electron-togglify-window

Set toggle function to Browser Window

Showing:

Popularity

Downloads/wk

2

GitHub Stars

3

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

electron-toggle-window

Add toggle feature to window. You can make a toggle-able window

Install

$ npm install --save electron-togglify-window

Usage

const BrowserWindow = require('browser-window');
const togglify = require('electron-togglify-window');

win = togglify(new BrowserWindow({
 side: 'left',
 'always-on-top': false,
 width: 600
}, {
    animation: 'hide'
});

API

togglify(winInstance, options)

winInstance

Instance of the target window should be passed created just to toggle.

options

Type: object

  • animation: the way of toggle animation when its will be hide or scale.

Run demo

$ npm start

License

MIT © Jimmy Moon

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial