EvoToolkit - v2.3.0 (Changelog)

fireEvent

This is a JavaScript helper function which lets you manually fire DOM events for elements.

Source

Contributors

Luke Harrison

Usage

import fireEvent from './../../../node_modules/evotoolkit/src/js/tools/fireEvent.js'; const myElem = document.querySelector('.js-my-elem'); fireEvent(myElem, 'change');