TouchBarColorPickerConstructorOptions

Properties

Link copied to clipboard
abstract var availableColors: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>??

Array of hex color strings to appear as possible colors to select.

Link copied to clipboard
abstract var change: (color: String) -> Unit?

Function to call when a color is selected.

Link copied to clipboard
abstract var selectedColor: String?

The selected hex color in the picker, i.e #ABCDEF.