🔤 texts helpers

infuture may be also translations
This commit is contained in:
jaandrle committed 2024-06-03 13:56:20 +02:00
1 parent 6dd5a582e7
commit 57fb9512ee
17 files changed
+418 -362

No files matched your search

@@ -1,5 +1,5 @@
class CustomHTMLElement extends HTMLElement{
static tagName = "custom-element"; // just suggestion, we can use `el(CustomHTMLElement.tagName)`
static tagName= "custom-element"; // just suggestion, we can use `el(CustomHTMLElement.tagName)`
static observedAttributes= [ "custom-attribute" ];
constructor(){
super();
@@ -0,0 +1,5 @@
const onchage=
event=>
console.log("Reacting to the:", event); // A
input.addEventListener("change", onchange); // B
input.dispatchEvent(new Event("change")); // C