The events module has two functions.
This demo has two key events:
- The natural event when the page has loaded which creates a timer.
- A synthetic event that is triggered by the timer.
Secondly, it has a function map and event handler to make inline HTML events easier if you want that. As an example check out the Boop button: