checkEvent
Description
Prüft, ob einem Event ein oder mehrere Handler zugeordnet sind
checkEvent: (name: string) => boolean
Parameters
name- (required) string - Name des Events
Returns
isExist- (boolean) - gibt true zurück, wenn dem Event ein oder mehrere Handler zugeordnet sind
Example
gantt.attachEvent("onTaskClick", function(id, e) {
alert("You've just clicked an item with id="+id);
});
gantt.checkEvent("onTaskClick"); //returns 'true'
Related API
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.