mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-24 09:29:37 +01:00
7 lines
183 B
JavaScript
7 lines
183 B
JavaScript
// pseudo code!
|
|
const onchage=
|
|
event=>
|
|
console.log("Reacting to the:", event); // A
|
|
input.addEventListener("change", onchange); // B
|
|
input.dispatchEvent(new Event("change")); // C
|