uger
v0.8.7
Published
```ts import { body } from "uger";
Downloads
58
Readme
UGER
Example
typesript
import { body } from "uger";
body.add("button") // Creates a button element in the body of the document
.text("Click here") // Changes innerText of this element
.on("click", () => // Adds event listener on click event
body.add("p") // Creates new element
.text("Wow you clicked!!!")
.once("click", (ev, elem) => elem.remove()); // Deletes new element
);