Skip to content

ElectronTouchBarColorPicker

Unofficial

A color picker item for a ElectronTouchBar.

Import:

import type { ElectronTouchBarColorPicker } from '@obsidian-typings/obsidian-public-latest';

Signature:

export class ElectronTouchBarColorPicker

Properties

PropertyTypeDescription
availableColorsstring[]The color picker's available colors to select.
selectedColorstringHex code representing the color picker's currently selected color.

Links to this page: