vue-upload-component
vue-upload-component copied to clipboard
FR @dropActive event
Using $refs to set a dropActive prop is not ideal as $refs is not reactive.
I would suggest emiting an event.
Simplest way to do it would be to add this.$emit('dropActive, true) near the places where this.dropActive = true is used in the source code and this.$emit('dropActive, false) where this.dropActive = false is used.
Should also solve the issue 254.
Thank you for your attention!
For anyone who's having problems with this, see my pr #346 for workarounds until the pr gets merged