%PDF- %PDF-
Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/cards/ |
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/cards/draggable.min.js |
/*! * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack) * Copyright 2018 PIXINVENT * Licensed under the Themeforest Standard Licenses */ $(document).ready(function(){dragula([document.getElementById("card-drag-area")]),dragula([document.getElementById("card-move")]).on("drag",function(el){el.className=el.className.replace("card-moved","")}).on("drop",function(el){el.className+=" card-moved"}).on("over",function(el,container){container.className+=" card-over"}).on("out",function(el,container){container.className=container.className.replace("card-over","")}),dragula([document.getElementById("copy-left"),document.getElementById("copy-right")],{copy:!0}),dragula([document.getElementById("left-handles"),document.getElementById("right-handles")],{moves:function(el,container,handle){return handle.classList.contains("handle")}}),dragula([document.getElementById("left-titleHandles"),document.getElementById("right-titleHandles")],{moves:function(el,container,handle){return handle.classList.contains("titleArea")}})});