|
|
@ -4,12 +4,7 @@ import { on, off, hasDnd } from 'utils/mixins'; |
|
|
module.exports = Backbone.View.extend({ |
|
|
module.exports = Backbone.View.extend({ |
|
|
events: { |
|
|
events: { |
|
|
mousedown: 'startDrag', |
|
|
mousedown: 'startDrag', |
|
|
dragstart: 'handleDragStart', |
|
|
dragstart: 'handleDragStart' |
|
|
dragend: 'handleDragEnd' |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
handleDragEnd(ev) { |
|
|
|
|
|
console.log('handleDragEnd'); |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
initialize(o, config = {}) { |
|
|
initialize(o, config = {}) { |
|
|
|