I have a todo project with localStorage and SortableJS. I am having problem where when I sort my todo list, it won't update the localStorage. Can somebody help me figure out a way to save the sorted list? The code is below but would be nice to vi...
Is there a way to detect if something is being dragged over an element? Or trigger the hover event? Found something about adding a class to the dragged over element via onMove, but it doesn't seem to work for me....
I'm having difficulty disabling sorting on a specific li in my ul. I'm using SortableJS.  <ul id="items">     <li class="static">         <div class="image"><img src="image.jpg" /></d...
I'm using vue-draggable to change array elements order. Let's say my array is:  data: {  array1: [{text: 'text1'},{text: 'text2'},{text: 'text3'}] }   on my template I simply use:  <draggable v-model="array1"...
I would like to make a cell to not move in  sortablejs.  All items are draggable and sortable except for .clearing. However, you can move any other divs around or in front of .clearing and force it to move. Try to move A or B to the beginning of the...
This is my code:  <head>     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" c...
I want to be able to drag out an element from a SortableJS enabled unsorted list, and make it disappear.  Can I make the rest of the page a drop target?  Or do I need a second list as a target (I guess I can make it appear when dragging starts).  I a...
How does one use html5's custom data attribute to sort items using sortable.js. Or how does one define custom sorting parameter using sortable.js  For example in the code below, I'd like to sort with data-timestamp  <ul id="items"&...
I'm using Sortable.JS for sortable drag and drop within a form builder. I want sections to be draggable (which is more or less working) and the questions within the sections to be draggable within the same section, or over into other sections.  W...
I am using the JS library SortableJS and trying to send the newly sorted array on submit.   The JS:  var originalArray; var sortable = Sortable.create(selection, {   handle: '.bars-move',   animation: 150, });  var modalForm = document.getEle...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.