changing README styles

This commit is contained in:
jonobr1 2011-01-28 17:18:34 -07:00
parent 760f5101e4
commit d0ae26b62f

View File

@ -32,6 +32,7 @@
</script> </script>
+ ui-dat will infer the type of the property you're trying to add (based on its initial value) and create the corresponding control. + ui-dat will infer the type of the property you're trying to add (based on its initial value) and create the corresponding control.
+ The properties must be public, i.e. defined by `**this**.prop = value`. + The properties must be public, i.e. defined by `**this**.prop = value`.
## Monitor variable changes <i>outside</i> of the GUI ## Monitor variable changes <i>outside</i> of the GUI
Let's say you have a variable that changes by itself from time to time. If you'd like the GUI to reflect those changes, use the listen() method Let's say you have a variable that changes by itself from time to time. If you'd like the GUI to reflect those changes, use the listen() method
GUI.add(obj, "propName").listen(); GUI.add(obj, "propName").listen();