https://github.com/jacoblincool/pgui
https://github.com/jacoblincool/pgui
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacoblincool/pgui
- Owner: JacobLinCool
- Created: 2020-11-07T07:41:15.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T08:26:53.000Z (over 2 years ago)
- Last Synced: 2025-01-24T23:41:21.994Z (over 1 year ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PGUI
Just a toolkit includes simple graphical user interface and some tools.
## PGUI
```javascript
window.PGUI
```
### Usage
```javascript
let ui = new PGUI;
```
### Structure & Methods
```javascript
ui.uid = "ID";
ui.cfg = { Configurations };
ui.console = { log: function(data), warn: function(data), error: function(data) };
ui.element = function("element_name");
ui.elm = ui.element;
ui.style = function("css_code");
```
## PGUI TOOLS
```javascript
window.PGUI_TOOLS
```
### Methods & Usage
```javascript
let doc_reader = new PGUI_TOOLS.document_reader("string");
PGUI_TOOLS.dr = PGUI_TOOLS.doc_rdr = PGUI_TOOLS.doc_reader = PGUI_TOOLS.document_reader;
PGUI_TOOLS.select_element().then(dom_element => { console.log(dom_element) });
PGUI_TOOLS.se = PGUI_TOOLS.sel_elm = PGUI_TOOLS.select_element;
```