The events module has two functions.

Primarily, it handles function queues for events. Events can either be natural Javascript ones, or a synthetic event that you create and trigger for whatever reason.

This demo has two key events:

  1. The natural event when the page has loaded which creates a timer.
  2. 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:


Javascripts messages will go here