We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89720b commit 6ade9deCopy full SHA for 6ade9de
test/jasmine/assets/mouse_event.js
@@ -0,0 +1,6 @@
1
+module.exports = function (type, x, y, opts) {
2
+ var el = document.elementFromPoint(x,y);
3
+ var options = opts || { bubbles: true };
4
+ var ev = new window.MouseEvent(type, options);
5
+ el.dispatchEvent(ev);
6
+};
0 commit comments