Closed dschreij closed 7 years ago
Awesome, thanks a lot. How about using the spread operator to clean things up a bit?
eventDrop(...args) {
self.$emit('event-drop', ...args)
},
Cheers Brock
Of course! I still have to get used to using this awesome ability more. I took the liberty of also updating this for all the other functions that I didn't touch last time.
@dschreij That is awesome 👍 , thanks.
I will bump the version up now.
This PR changes the functions eventDrop and eventResize, such that they pass through all parameters that they receive from fullcalendar. I also changed the
remove-event
listener function such that it not only allows removal of events by their ID, but also a filter function (for which the parameter name 'event' may be a bit inappropriate then), as described in the documentation of this function. This is useful when an event needs to be removed before it has been assigned an ID.