https://github.com/mwelwankuta/ui-app
a javascript ui library
https://github.com/mwelwankuta/ui-app
framework html javascript tailwindcss typescript ui
Last synced: about 1 year ago
JSON representation
a javascript ui library
- Host: GitHub
- URL: https://github.com/mwelwankuta/ui-app
- Owner: mwelwankuta
- Created: 2021-08-24T20:43:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-24T21:37:33.000Z (over 4 years ago)
- Last Synced: 2025-01-17T08:46:02.234Z (about 1 year ago)
- Topics: framework, html, javascript, tailwindcss, typescript, ui
- Language: TypeScript
- Homepage:
- Size: 298 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UI Framework
a javascript ui framework
## Creating a counter
```js
const app = new UIApp({
root: "#root",
data: {
count: 0,
},
view: ({ TextView, Stack, Button }) => {
const { data, changeData } = app;
TextView(data.count);
Stack("column", {
value: [
Button("+", {
onclick: () => changeData({ count: data.count + 1 }),
}),
Button("Decrement", {
onclick: () => changeData({ count: data.count - 1 }),
}),
],
});
},
});
app.render();
```
## 🎩 Project Description
This project aims to use HTML and JavaScript in such a way that it takes aways manuel interaction with the dom
### 👉 Technologies Used :
* TypeScript
* TailwindCSS
## 🐛 Bugs Reporting
Feel free to [open an issue](https://github.com/mwelwankuta/ui-app/issues) on GitHub if you find any bug.