mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 08:36:24 +00:00
added dragstop listener and dragStop method
This commit is contained in:
parent
71424dcf8d
commit
97f829da9f
@ -31,6 +31,7 @@
|
||||
:class="{ 'is-enabled': !domainObject.isDefault }"
|
||||
:draggable="!domainObject.isDefault"
|
||||
@dragstart="dragStart"
|
||||
@dragstop="dragStop"
|
||||
@dragover.stop
|
||||
></span>
|
||||
<span
|
||||
@ -246,6 +247,9 @@ export default {
|
||||
e.dataTransfer.setDragImage(e.target.closest('.c-c-container__container'), 0, 0);
|
||||
this.$emit('setMoveIndex', this.conditionIndex);
|
||||
},
|
||||
dragStop(e) {
|
||||
e.dataTransfer.clearData();
|
||||
},
|
||||
destroy() {
|
||||
},
|
||||
removeCondition(ev) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user