Top  | Previous | Next

Component Event Handlers

Using scripts to handle component events is one of the most common places to use scripting in Ignition. When an event occurs for a component, like a mouse click or a key press, you can have your script (the event handler) be called.


When your event handler is executed, it already has three names in scope:

event - the event object
system - the root of the Ignition Scripting API
app - the root of your project's script modules


See also:

Event Handlers Overview