Draggable.create(target, { onDragStart: function() {}, onDrag: () => {}, onDragEnd: function() {}, onClick: function() {} // ... })