diff --git a/README.md b/README.md index 5383322..d47d115 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ * addBgColor(properties,property) for BgColorController Note: For using BgColorController displaying a "property" a second "property+bg" must be present. For Example: -`var myProps={color:#ffffff,colorbg:#000000};` +`var myProps={color:#ffffff,colorbg:#000000}; +datgui.addBgColor(myProps,color); +` # dat.GUI A lightweight graphical user interface for changing variables in JavaScript.