mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-23 00:59:38 +01:00
6 lines
167 B
JavaScript
6 lines
167 B
JavaScript
|
const onchage=
|
||
|
event=>
|
||
|
console.log("Reacting to the:", event); // A
|
||
|
input.addEventListener("change", onchange); // B
|
||
|
input.dispatchEvent(new Event("change")); // C
|