bindEventHandler
Jump to navigation
Jump to search
bindEventHandler
Signature: void bindEventHandler(string eventName, handle source, function handler)
Usage: add a handler to call when an event occurs for the source item
Parameters
- string eventName The name of the event, case-insensitive.
- handle source The source element.
- function handler The scripting function to call when the event occurs for the source element.
Return
void
On failure: void