This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function simulateDragAndDrop(element, startX, startY, targetX, targetY, steps = 10) { | |
| function triggerMouseEvent(target, eventType, clientX, clientY) { | |
| const event = new MouseEvent(eventType, { | |
| bubbles: true, | |
| cancelable: true, | |
| clientX, | |
| clientY, | |
| view: window, | |
| }); | |
| target.dispatchEvent(event); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: (function() { | |
| var tri = { | |
| menu: document.createElement("div"), | |
| limit: document.createElement("input"), | |
| gap: document.createElement("input"), | |
| sag: document.createElement("input"), | |
| fov: document.createElement("input"), | |
| flo: document.createElement("input"), | |
| off: document.createElement("input"), | |
| non: document.createElement("input"), |