"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function addDomEvent(target, eventName, handler, options = { passive: true }) {
  target.addEventListener(eventName, handler, options);
  return () => target.removeEventListener(eventName, handler);
}
exports.addDomEvent = addDomEvent;
//# sourceMappingURL=dist-es-events-add-dom-event.cjs.map
