calls an inner event
name | string | the event's name, case-insensitive |
params | array | an array of the event-related data |
boolean | false, if some of the event handlers returns false. Otherwise, true |
scheduler.attachEvent("CustomEvent", function(param1, param2){
return true;
});
var res = scheduler.callEvent("CustomEvent", [param1, param2]);
Normally, events are called automatically and you don't need to use this method.