Update README.md

This commit is contained in:
javalang 2017-09-26 09:22:38 +02:00 committed by GitHub
parent 7fdb5d0c03
commit fb1fb93c04

View File

@ -9,9 +9,11 @@
* addNgColor(properties,property) for NgColorController * addNgColor(properties,property) for NgColorController
* addBgColor(properties,property) for BgColorController * addBgColor(properties,property) for BgColorController
Note: For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example: Note:
* For using BgColorController displaying a two colors, 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); datgui.addBgColor(myProps,color);
* Changing the height of all ColorControllers can be done by changeing the CSS .dg.c item.
` `
# dat.GUI # dat.GUI