updated index.html doc to reflect setWatched()

This commit is contained in:
jonobr1 2011-01-28 20:17:57 -07:00
parent 790083fa3b
commit ebf5294ee5

View File

@ -93,6 +93,9 @@ window.onload = function() {
// Boolean checkbox
gui.add(fizzyText, "displayOutline");
// Watches a property
gui.add(fizzyText, "framesRendered").setWatched();
// Fires a function called "explode"
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name.