Please try to drag the top bar of this window.
You can click overlay behind to close as well.
Wise window manager, one for all.
Please try to drag the top bar of this window.
You can click overlay behind to close as well.
Promise has been supported by all modern browsers. It helps you to avoid callback hells and write more readable codes.
Use Developer Tools to change the view to mobile devices. It works fine as well!
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
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.
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 :-)