409
Writing program scripts with JavaScript
Motivation
410
Declaring a program script interface
411
Initializing a program script
412
Shutting down a program script
413
Responding to events
414
Accessing fields from JavaScript
415
Accessing eventOuts from JavaScript
416
JavaScript script example code
417
JavaScript script example code
418
JavaScript script example code
419
JavaScript script example code
420
JavaScript script example code
421
JavaScript script example code
422
JavaScript script example code
423
JavaScript script example code
424
JavaScript script example code
425
JavaScript script example
426
Building user interfaces
427
Building a toggle switch
428
Using a toggle switch
429
Using a toggle switch
430
Building a color selector
431
Using a color selector
432
Using a color selector
433
Summary
434