debian-mirror-gitlab/spec/frontend/helpers/dom_events_helper.js

11 lines
183 B
JavaScript
Raw Normal View History

2020-04-22 19:07:51 +05:30
export const triggerDOMEvent = type => {
window.document.dispatchEvent(
new Event(type, {
bubbles: true,
cancelable: true,
}),
);
};
export default () => {};