Skip to contents

ui component for setting colourInput

Usage

multipleColorPickerUI(id, init_colors, labels, ui_id = "colorPicker")

Arguments

id

An ID string that corresponds with the ID used to call the module's UI function.

init_colors

initial colors for colourInput

labels

labels for colourInput

ui_id

id of the ui element

Value

a list with two elements

  • ui: the ui element of this piece

  • id: the id of this ui element