Skip to content

EventHandler()

ts
function EventHandler(): string;

This function returns the name of the event handler that triggered the execution of the currently running script.

Example

js
var evth = EventHandler();
Log(evth); // will log (for example): AfterFileUpload