EventHandler()
ts
function EventHandler(): string;This function returns the name of the event handler that triggered the execution of the currently running script.
TIP
For file-based events, use CtxRelPath() to get the path of the file that triggered the event.
Example
js
var evth = EventHandler();
Log(evth); // will log (for example): AfterFileUpload