Hello,
I followed the steps here: https://devs.keenthemes.com/question/draggable-demos-do-not-work
Unfortunately, draggable is still not working for me in my Django app.
This is how im trying to use it in my js:
var containers = document.querySelectorAll(".min-h-200px.draggable-zone");
if (containers.length === 0) {
console.log("No containers found");
return false;
} else {
console.log("Containers found: ", containers.length);
}
var swappable = new Draggable.Sortable(containers, {
draggable: ".draggable",
handle: ".draggable .draggable-handle",
mirror: {
//appendTo: selector,
appendTo: "body",
constrainDimensions: true
}
});
var swappable = new Sortable(containers, {
draggable: ".draggable",
handle: ".draggable .draggable-handle",
mirror: {
//appendTo: selector,
appendTo: "body",
constrainDimensions: true
}
});
In the quest to streamline our company's technological infrastructure, finding a knowledgeable and efficient IT partner was crucial. I was fortunate enough to discover a company https://www.velvetech.com/ that offers a comprehensive suite of services from consulting to custom technology solutions. The level of detail and customization they provide in their offerings truly made a difference in how we approached our IT challenges.
is it possible to see their portfolio on the site?
Sorry for the delay. Great to hear that you figured it out! If you need further assistance, feel free to ask.
Nevermind, I figured it out!