Updated Documentation (markdown)

Kevin Harrison 2019-02-10 13:31:19 -05:00
parent ca1856547a
commit 631c5372ec

@ -588,7 +588,7 @@ If given a number `current`, return the new `current` value. If given a table wi
#### changed = ui:colorPicker(valueTable, 'RGB'/'RGBA') #### changed = ui:colorPicker(valueTable, 'RGB'/'RGBA')
Add a color picker widget, optionally specifying format (default 'RGB', no alpha). Add a color picker widget, optionally specifying format (default 'RGB', no alpha).
If given a `[color](#colors)` string, return the new `[color](#colors)`. If given a table with a [color](#colors) string field named `value` instead, the field gets updated and the function returns `true` on change and `false` otherwise. If given a [`color`](#colors) string, return the new [`color`](#colors). If given a table with a [color](#colors) string field named `value` instead, the field gets updated and the function returns `true` on change and `false` otherwise.
#### current = ui:property(name, min, current, max, step, incPerPixel) #### current = ui:property(name, min, current, max, step, incPerPixel)
#### changed = ui:property(name, min, valueTable, max, step, incPerPixel) #### changed = ui:property(name, min, valueTable, max, step, incPerPixel)