Windowise

Wise window manager, one for all.

Window
Basic
Code
Chat
Code
Menu
Code
Modal
Basic
Code
Auto Close
Code
Confirm
Code
Input
Code
Async
Code
Notification
Basic
Code
Auto Close
Code
From Top
Code
Push
Basic
Code
Confirm
Code
Select
Code
Async
Code

Why Promise?

Promise has been supported by all modern browsers. It helps you to avoid callback hells and write more readable codes.

Try It in Mobile!

Use Developer Tools to change the view to mobile devices. It works fine as well!

Get Started

1. Install via npm

npm install windowise
// In JavaScript
import { Window, Modal, Nft, Push, Progress, Input } from 'windowise';
import Style from 'windowise/dist/windowise.css';

2. Link CDN files

<!-- In HTML -->
<link rel="stylesheet" href="https://unpkg.com/windowise@latest/dist/windowise.min.css">
<script src="https://unpkg.com/windowise@latest/dist/windowise.min.js"></script>

3. Or just download files from Github

Contributing

Please leave an issue if you find any bugs, I will fix it ASAP. If you would like to develop your own component which is based on Windowise, please read the simple guideline below.

Guideline for Development

If you are creating a variant of Window(), the class should have getPromise() at least. It will be great if it has open() and close() as well.

If you would like to publish your component/library to npm, please use Windowise as a peer dependency.

And here are some ideas for you if you are interested in :-)