Skip to content

set

ui.set(item)

For checkboxes, pass true or false. For a slider, pass a integer/float that is within the slider’s minimum/maximum values. For a combobox, pass a string value. For textboxes, pass a string value. For a multiselect, pass zero or more strings. For referenced buttons, the callback is ignored regardless of the value. For color pickers, pass the arguments r, g, b, a(, effect, speed).