I want to implement a drag and drop functionality for my fullCalendar events. The functionality enables users to drag and drop events within the calendar to change their event in another day and time.
This is the html code I have:
<p-fullCalendar deepChangeDetection="true" [events]="events" [options]="calendarOptions"></p-fullCalendar>
and this the ts file
this.calendarOptions = {
droppable: true,
eventDragStart: function(a) {
console.log("Drag start", a);
},
eventDragStop: function(a) {
console.log("Drag stop", a);
},