This is a JavaScript helper function which lets you manually fire DOM events for elements.
When importing EvoToolkit directly as a compiled .js
file without a build step, you can still use these tools through the global EvoToolkit object.
window.evotoolkit.tools.toolName()
import fireEvent from './../../../node_modules/evotoolkit/src/js/tools/fireEvent.js';
const myElem = document.querySelector('.js-my-elem');
fireEvent(myElem, 'change');