Skip to content

Instantly share code, notes, and snippets.

Avatar

Len lenntt

  • The Netherlands
View GitHub Profile
@rcorreia
rcorreia / drag_and_drop_helper.js
Last active Nov 6, 2020
drag_and_drop_helper.js
View drag_and_drop_helper.js
(function( $ ) {
$.fn.simulateDragDrop = function(options) {
return this.each(function() {
new $.simulateDragDrop(this, options);
});
};
$.simulateDragDrop = function(elem, options) {
this.options = options;
this.simulateEvent(elem, options);
};
You can’t perform that action at this time.