mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
updated index.html doc to reflect setWatched()
This commit is contained in:
parent
a4d600f3b0
commit
092419bdad
@ -93,6 +93,9 @@ window.onload = function() {
|
|||||||
// Boolean checkbox
|
// Boolean checkbox
|
||||||
gui.add(fizzyText, "displayOutline");
|
gui.add(fizzyText, "displayOutline");
|
||||||
|
|
||||||
|
// Watches a property
|
||||||
|
gui.add(fizzyText, "framesRendered").setWatched();
|
||||||
|
|
||||||
// Fires a function called "explode"
|
// Fires a function called "explode"
|
||||||
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name.
|
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user