Open summer506hai opened 1 year ago
var ev = new MouseEvent('contextmenu', {{
'view': window,
'bubbles': true,
'cancelable': true,
'screenX': '{x}',
'screenY': '{y}' }});
var el = document.elementFromPoint('{x}','{y}');
el.dispatchEvent(ev);
滑动
从(x , y)移动到 (x + move_x , y)