Table of Contents
Chapter Index
Previous Slide
Next Slide
347
Responding to events
Writing program scripts with JavaScript
Responding to events
An
eventIn function
must be declared for each eventIn
The eventIn function is called each time an event is received, passing the event's
value
time stamp
function set_fraction( value, timestamp ) { . . . }