@fczbkk/event-simulator
v1.1.0
Published
Cross-browser simulator of regular and mouse events in JavaScript.
Downloads
8
Readme
Event Simulator
Cross-browser simulator of regular and mouse events in JavaScript.
Documentation
simulateEvent
Fires an event of provided type on provided object
Parameters
Examples
simulateEvent(window, 'scroll');
simulateMouseEvent
Fires a mouse event on provided object
Parameters
Examples
simulateMouseEvent(window, {type: 'mousedown', button: 'right'});
Bug reports, feature requests and contact
If you found any bugs, if you have feature requests or any questions, please, either file an issue at GitHub or send me an e-mail at [email protected].
License
Event Simulator is published under the MIT license.