Simple fork of html5sortable that adds compatibility with jquery.event.drag, which unfortunately completely hijacks drag events and breaks the original plugin.
This is a limited port and does not contain some of the same features (connectWith
, etc.). It was enough for my needs.
See html5sortable or the source for more information.
$('.sortableParentWithChildren').sortable({
forcePlaceholderSize: false,
items: '',
mode: 'horizontal'
})
mode: String (options: 'horizontal', 'vertical'; default: 'horizontal')
items: String (selector to filter children, e.g. ':not(.disabled)')
forcePlaceholderSize: Boolean (forces placeholder width & height to be identical to item being dragged, default: false)
sortstart
, sortend
, sortupdate
(only fired on a sort change)
MIT