How do I delete this event from FullCalendar?

前端 未结 6 1221
轻奢々
轻奢々 2021-02-01 22:03

The calendar lets the user drag a timeslot onto the calendar, however I would like them to be able to remove it if they click on it.

So in the eventClick I have this fun

6条回答
  •  遇见更好的自我
    2021-02-01 22:44

    Instead of using your passed in cal, can you try using a call to the div that holds your calendar?

    In the case of eventClick, this refers to the HTML for the event according to what I'm reading in the docs.

提交回复
热议问题