method getEventHandlerAction

string getEventHandlerAction(string event);

Argumente

Zurückgegebener Wert

This method returns the event handler for a given event. This returns the action formatted as a string. (Example: "onMouseHover();")
// scene's on:constructed handler is
shell.print("Handler is: " + scene.rootBox.getEventHandlerAction("constructed"));

// Sample Output:
//   Handler Is: OnInit();