mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-29 07:00:16 +02:00
⚡ dispatch
This commit is contained in:
4
dist/esm-with-signals.js
vendored
4
dist/esm-with-signals.js
vendored
@@ -592,6 +592,10 @@ function observedAttributes2(instance) {
|
||||
|
||||
// src/events.js
|
||||
function dispatchEvent(name, options, host) {
|
||||
if (typeof options === "function") {
|
||||
host = options;
|
||||
options = null;
|
||||
}
|
||||
if (!options) options = {};
|
||||
return function dispatch(element, ...d) {
|
||||
if (host) {
|
||||
|
Reference in New Issue
Block a user