Skip to main content


triggers an inner event

fire(name: string, arguments: any[]): boolean;


  • name: string - the event's name, case-insensitive
  • arguments: array - an array of the event-related data


False, if some of the event handlers return false. Otherwise, true.

Example"CustomEvent", function(param1, param2){
return true;

var res ="CustomEvent", [12, "abc"]);

Normally, events are called automatically and you don't need to use this method.

Related articles

Event Handling