From faf18f348ce3933c0d73fe840d646adf8f10f65f Mon Sep 17 00:00:00 2001 From: Bo Sandorf Pluszek Date: Mon, 23 Apr 2018 11:16:34 +0200 Subject: [PATCH] added events for dragStarted and dragStopped --- src/js/components/vue-scrollbar.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/components/vue-scrollbar.vue b/src/js/components/vue-scrollbar.vue index 3e15c22..5ed40a4 100644 --- a/src/js/components/vue-scrollbar.vue +++ b/src/js/components/vue-scrollbar.vue @@ -250,10 +250,12 @@ handleScrollbarDragging(){ this.dragging = true + this.$emit("dragStarted", this); }, handleScrollbarStopDrag(){ this.dragging = false + this.$emit("dragStopped", this); }, getSize(){