TouchBarColorPickerConstructorOptions

Properties

Link copied to clipboard
abstract external var availableColors: ReadonlyArray<String>?

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

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

Function to call when a color is selected.

Link copied to clipboard
abstract external var selectedColor: String?

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