
//------------------------------------------------------------------------------
// EventTarget
//------------------------------------------------------------------------------
// addEventListener
export const addEventListener = (target, type, fn, options) => target.addEventListener(type, fn, options);
// removeEventListener
export const removeEventListener = (target, type, fn, options) => target.removeEventListener(type, fn, options);
// dispatchEvent
export const dispatchEvent = (target, ev) => target.dispatchEvent(ev);
// stopPropagation
export const stopPropagation = (ev) => ev.stopPropagation();
// stopImmediatePropagation
export const stopImmediatePropagation = (ev) => ev.stopImmediatePropagation();
// preventDefault
export const preventDefault = (ev) => ev.preventDefault();