vue-upload-component icon indicating copy to clipboard operation
vue-upload-component copied to clipboard

FR @dropActive event

Open DomasB opened this issue 5 years ago • 1 comments

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!

DomasB avatar Jan 28 '20 11:01 DomasB

For anyone who's having problems with this, see my pr #346 for workarounds until the pr gets merged

JoshMoreno avatar Apr 05 '20 02:04 JoshMoreno