I am looking to enhance my fullCalendar by adding a drag and drop feature for the events. This feature will allow users to easily move events within the calendar to different days and times.
Below is the HTML code I currently have:
<p-fullCalendar deepChangeDetection="true" [events]="events" [options]="calendarOptions"></p-fullCalendar>
And here is the corresponding TypeScript file:
this.calendarOptions = {
droppable: true,
eventDragStart: function(a) {
console.log("Drag start", a);
},
eventDragStop: function(a) {
console.log("Drag stop", a);
},