This file contains 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
// This took me forever to get right, but basically it just plays around with mouse events to simulate a drag and drop in Notion Calendars | |
function dragAndDrop(initial: HTMLElement, target: HTMLElement) { | |
const pickUpEvent = new MouseEvent("mousedown", { | |
// button: 1, | |
bubbles: true, | |
// clientX: initial.getBoundingClientRect().x, | |
// clientY: initial.getBoundingClientRect().y, | |
}); |
This file contains 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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: edwinsturt | |
* Date: 2020-06-24 | |
* Time: 00:45 | |
*/ | |
$file = 'main.js.map'; |