checks whether the specified event occurs at the time that has already been occupied by another event(s)

boolean checkCollision(object event);
eventobjectthe event object
booleanreturns false, if the event time has already been occupied, otherwise - true.


var event = {
   text : "New Event",
   start_date : new Date(2013, 02, 20, 10, 00),
   end_date : new Date(2013, 02, 20, 14, 00)
var isOccupied = scheduler.checkCollision(event); // returns 'true' or 'false'


The method requires the collision plugin to be activated.

Note, the method invokes the onEventCollision event.

See also
Back to top