Skip to content

EventHandler()

ts
function EventHandler(): string;

This function returns the name of the event-handler that triggered the execution of the script currently being run.

Example

ts
{
  var evth = EventHandler();
  Log(evth); // will log (for example): AfterFileUpload
}