window-modal
v1.0.5
Published
A mini window in your browser that can move, resize, minimize, and more!
Downloads
15
Maintainers
Readme
window-modal
Features
- Pure JS (Written in TypeScript)
- Designed to be used in vanilla JS, or wrapped by front end frameworks (React, Vue, etc)
- Highly tested
- Movable
- Resizable
- Titles (with icons)
- Minimize
- Close
- Scrollable
- Customizable style (override styles with classnames, may have to use
!important
) - Many options!
Setup
<script src="https://cdn.jsdelivr.net/npm/window-modal/build/index.js"/>
npm install window-modal
then
const WindowModal = require("window-modal");
or
import WindowModal from "window-modal";
Usage
const options = { option: value };
new WindowModal(options);