2
dragula([document.getElementById("draggable-area")]),
3
dragula([document.getElementById("card-colors")])
4
.on("drag", function (e) {
5
e.className = e.className.replace("card-moved", "");
7
.on("drop", function (e) {
8
e.className += " card-moved";
10
.on("over", function (e, t) {
11
t.className += " card-over";
13
.on("out", function (e, t) {
14
t.className = t.className.replace("card-over", "");
18
document.getElementById("copy-left"),
19
document.getElementById("copy-right"),
27
document.getElementById("left-handles"),
28
document.getElementById("right-handles"),
31
moves: function (e, t, n) {
32
return n.classList.contains("handle");
38
document.getElementById("left-titleHandles"),
39
document.getElementById("right-titleHandles"),
42
moves: function (e, t, n) {
43
return n.classList.contains("titleArea");