netherjs / nui2
A JS UI toolkit made by someone who hates JS.
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- components/bootstrap: ^4.5
- components/font-awesome: ^5.15
- components/jquery: ^3.5
This package is auto-updated.
Last update: 2024-12-06 07:54:51 UTC
README
Work in progress.
Requirements
- jQuery 3.5
- Bootstrap 4.5
- Font Awesome 5
Testing
$ composer install $ php -S localhost:80 -t www .
Example Use
import Dialog from "./nui/element/dialog.js"; import Button from "./nui/element/button.js"; new Dialog({ 'Modal': true, 'Title': 'Do you?', 'Icon': 'fas fa-question-circle', 'Content': 'Well?', 'Buttons': [ new Button({ 'Text':'Probably', 'Class': 'NUI-Action-Accept' }) ] }) .Register( 'Accept', 'AppOnAccept', function(){ this.Close(); return; } )