https://github.com/hxari/eremento
Simple JavaScript HTMLElement Generator.
https://github.com/hxari/eremento
eremento htmlelement javascript
Last synced: 8 months ago
JSON representation
Simple JavaScript HTMLElement Generator.
- Host: GitHub
- URL: https://github.com/hxari/eremento
- Owner: hxAri
- License: mit
- Created: 2022-02-27T04:51:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-11T12:31:12.000Z (almost 3 years ago)
- Last Synced: 2025-09-19T05:26:31.395Z (9 months ago)
- Topics: eremento, htmlelement, javascript
- Homepage: https://hxari.github.io/projects/Eremento
- Size: 88.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Eremento is a tool for building HTML Elements based on objects or properties, you can create HTML element objects and also create raw HTML structures easily with Eremento.
## Features
* Arrangement
Builds the raw HTML structure from the object as well as from the HTML instance itself.
* Object
Builds html elements from objects.
* Multiple
You can construct one element or even more than one html element.
## Initialize
Through **UNPKG**
```html
```
## Examples
Build raw HTML structure.
```js
/** For Multiple Elements **/
Eremento.arrange([]);
/** For Single Element **/
Eremento.arrange({
name: "input",
attributes: {
type: "text",
value: null
}
});
/** Results **/
/** */
```
Building an HTML Element Instance.
```js
Eremento.create({
name: "button",
attributes: {
dataset: {
id: 0
},
click: e => console.log( e.target.dataset.id )
}
});
```
## License
All source code license under [MIT license](https://opensource.org/licenses/MIT). Please [see](https://opensource.org/licenses/MIT) the [MIT](https://opensource.org/licenses/MIT) documentation for details.