I implemented the vis.js timeline in my vue.js project, but I have a problem with the drop. First of all I think the drop does not works in that library, second how can i get the start and the end time and date when I drag one item and then drop it?
Because the drop event is not working I'm trying to do it with
@items-update="itemsUpdate()"
and I'm getting the data back with.
let properties = this.$refs.timeline.getEventProperties(event)
But I'm getting the time where the mouse pointer stops.
So is there any way to get the start time and end time after drop I mean after I stop dragging the item?
Because I need to save start time and the end time into my database for that dragged item.
I implemented the vis.js timeline in my vue.js project, but I have a problem with the drop. First of all I think the drop does not works in that library, second how can i get the start and the end time and date when I drag one item and then drop it?
Because the drop event is not working I'm trying to do it with
@items-update="itemsUpdate()"
and I'm getting the data back with.
let properties = this.$refs.timeline.getEventProperties(event)
But I'm getting the time where the mouse pointer stops.
So is there any way to get the start time and end time after drop I mean after I stop dragging the item?
Because I need to save start time and the end time into my database for that dragged item.
Thanks.