antoniandre / vue-cal

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal/
MIT License
1.23k stars 234 forks source link

EditableEvents how get events the change? #490

Open phpiando opened 2 years ago

phpiando commented 2 years ago

I've been reading the documentation and haven't found anything that is an event change event, for example, I'm using the "editable-events" tag, however when I change something in an event I can't get the updated data, like do I get the new change data?

Example.. Exists something like "on-event-resizing"

 <vue-cal 
                                        :time="true" 
                                        :time-from="6 * 60"
                                        :time-to="21 * 60"    
                                        :events="events"                                             
                                        :on-event-click="onEventClick"
                                        :editable-events="{resize: true}"
                                        :on-event-resizing="onEventDuration"
                                        @view-change="pageChange"      
                                        events-on-day-view="events-on-day-view"                      
                                        :locale="locale"/>