diff --git a/README.md b/README.md index 1ce5d31..f2e812d 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ + 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 outside of the GUI +\#\# Monitor variable changes outside 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 GUI.add(obj, "propName").listen(); ## Fire a function when someone uses a control