title: How to delete an event on FullCalendar?
body: <p>I am trying to delete an event when it is being clicked. </p>
  
  <p>This is what I have and I have no idea </p>
  
  <pre><code>        eventClick: function(calEvent, jsEvent, view) {
  
              alert('Event: ' + calEvent.title);
              alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY);
              alert('View: ' + view.name);
              alert('This needs to be deleted');
  
          // change the border color just for fun
          $(this).css('border-color', 'red');
          $('#calendar').fullCalendar(
              'removeEvents'
              [this] );
  
      },
  </code></pre>
  
  <p>The solution is actually here: <a href="https://fullcalendar.io/docs/event_data/removeEvents/" rel="nofollow noreferrer">https://fullcalendar.io/docs/event_data/removeEvents/</a>
  but I still cant follow.
  Please Help!</p>