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

Property Type Description
availableColors string[] The color picker's available colors to select.
selectedColor string Hex code representing the color picker's currently selected color.

Links to this page: