winbox-ts
v1.0.0
Published
A modified TypeScript version of WinBox.js
Downloads
7
Maintainers
Readme
WinBox TS
A modified version of WinBox.js , originally licensed under the Apache License 2.0.
This project introduces additional features, improvements, and fixes on top of the original work.
✨ Features
- Re-wrote WinBox.js in TypeScript for easier readability, modification, and redistribution
- Preserved important features and APIs of WinBox.js
- Added
fit()method to make windows automatically adjust their size on window resize - Removed the support for
new WinBox(title: string)in WinBox.js, only support creating windows throughnew WinBox(params: WinBoxParams) - Removed the
viewportfeature from WinBox.js,maxwidthandmaxheightnow have their maximum values by default - Removed the
WinBox.newconstructor support
📦 Installation
pnpm add winbox-ts
or
yarn add winbox-ts
🚀 Usage
- See WinBox.js documentation at WinBox.js
📄 License
This project is licensed under the Apache License 2.0 .
- Original code: Copyright © WinBox.js Authors
- Modifications: Copyright © Hwacc
See the LICENSE file for details.
🙏 Acknowledgements
- Based on the work of [WinBox.js] (github repo).
- Thanks to the contributors of the original project.
