checkEvent
Description
Checks whether an event has some handler(s) specified
checkEvent: (name: string) => boolean
Parameters
name- (required) string - the event's name
Returns
isExist- (boolean) - returns true, if some handler is specified for the event
Example
gantt.attachEvent("onTaskClick", function(id, e) {
alert("You've just clicked an item with id="+id);
});
gantt.checkEvent("onTaskClick"); //returns 'true'