We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
slop
1 parent a52877f commit c56f223Copy full SHA for c56f223
test/jasmine/assets/click.js
@@ -21,8 +21,8 @@ var Lib = require('../../../src/lib');
21
* @param {bool} cancelContext: act as though `preventDefault` was called during a `contextmenu`
22
* handler, which stops native contextmenu and therefore allows mouseup events to be fired.
23
* Only relevant if button=2 or ctrlKey=true.
24
- * @param {array(2)} opts.slop - shift [x, y] between mousedown and mouseup
25
- * to simulate a sloppy click
+ * @param {array(2)} opts.slop - shift [x, y] between mousedown and mouseup.
+ * Just for testing purposes, to simulate a sloppy click
26
*/
27
module.exports = function click(x, y, optsIn) {
28
var opts = Lib.extendFlat({}, optsIn || {});
0 commit comments