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 4f00016 commit 56bc663Copy full SHA for 56bc663
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