11 lines
183 B
JavaScript
11 lines
183 B
JavaScript
|
export const triggerDOMEvent = type => {
|
||
|
window.document.dispatchEvent(
|
||
|
new Event(type, {
|
||
|
bubbles: true,
|
||
|
cancelable: true,
|
||
|
}),
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default () => {};
|