fires when the user clicks the left mouse button on an event
id | string | the event's id |
e | Event | a native event object |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
scheduler.attachEvent("onClick", function (id, e){
//any custom logic here
return true;
});
The event is blockable. If non-true value is returned from the handler, the default reaction will be blocked ( by default, the selection bar appears).