updated index.html doc to reflect setWatched()

This commit is contained in:
jonobr1 2011-01-28 20:17:57 -07:00
parent a4d600f3b0
commit 092419bdad

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.