Event Handling

The power of the SPARK toolkit is that it greatly simplifies event handling when working between controls’ settings and values.

Most implementations will only need one line of code to handle events.

Event handlers allow developers to specify custom JavaScript to run when an event is triggered, such as checking that required fields aren't empty or validating user input.

Event Handlers



Event handlers can also be used to access other controls and their methods, such as for storing data in an on page Data control.

Related Article(s)


Data Binding & Retrieval

Creating Custom Functions


JSDoc for the SPARK UI Toolkit


  • Author: J. Andrew Casey-Clyde
  • Date Created: June 2, 2015
  • Date Modified: June 18, 2015
Was this article helpful?
2 out of 2 found this helpful