Create a color picker in the touch bar for native macOS applications
availableColorsString (optional) - Array of hex color strings to appear as possible colors to select.
selectedColorString (optional) - The selected hex color in the picker, i.e
changeFunction (optional) - Function to call when a color is selected.
colorString - The color that the user selected from the picker
The following properties are available on instances of
String array representing the color picker’s available colors to select. Changing this value immediately updates the color picker in the touch bar.
String hex code representing the color picker’s currently selected color. Changing this value immediately updates the color picker in the touch bar.
© 2013–2017 GitHub Inc.
Licensed under the MIT license.