Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
fix: adds draggable configurability fixes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsasharegan committed Mar 11, 2018
1 parent 0b02742 commit ef175a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/VueTransmit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<component :is="tag">
<div class="v-transmit__upload-area"
:class="[isDraggingClass, uploadAreaClasses]"
draggable="true"
draggable="!disableDraggable"
v-bind="uploadAreaAttrs"
v-on="uploadAreaListeners"
@click="handleClickUploaderAction"
Expand Down Expand Up @@ -89,6 +89,10 @@ export default Vue.extend({
type: String,
default: "div",
},
disableDraggable: {
type: Boolean,
default: false,
},
uploadAreaClasses: {
type: [Array, Object, String],
default: null,
Expand Down

0 comments on commit ef175a6

Please sign in to comment.