Sha256: 8ab2ffd784eb3d617735273cf5a4042d28ad17b83f50d7cadced1738e6cd35c3
Contents?: true
Size: 663 Bytes
Versions: 103
Compression:
Stored size: 663 Bytes
Contents
const atomeSort = { sort: function (options, atome_id, atome) { let element = document.getElementById(atome_id) let children = Array.from(element.children); children.forEach((element, _index) => { element.style.position = 'relative' element.style.webkitUserDrag = 'element' }) Sortable.create(element, { animation: 1150, ghostClass: 'selected', onSort: function () { // alert('sorted'); atome.$sort_callback(atome) // sortable({sort: onSort, change:onChange, start:onStart }) } }) }, }
Version data entries
103 entries across 103 versions & 1 rubygems