gitlab-org--gitlab-foss/spec/frontend/helpers/dom_events_helper.js

10 lines
183 B
JavaScript

export const triggerDOMEvent = type => {
window.document.dispatchEvent(
new Event(type, {
bubbles: true,
cancelable: true,
}),
);
};
export default () => {};