Select Option List
class SelectOptionList
Builder-style class for constructing a list of SelectOptions.
Example usage:
val options = SelectOptionList()
.option("To Do", Color.DEFAULT)
.option("In Progress", Color.YELLOW)
.option("Done", Color.GREEN)Content copied to clipboard
Functions
Link copied to clipboard
Adds a new SelectOption to the list with the given name and color. The option's ID will be set to the name by default.