Trilium Frontend API
    Preparing search index...

    Interface TouchBarColorPickerConstructorOptions

    interface TouchBarColorPickerConstructorOptions {
        availableColors?: string[];
        change?: (color: string) => void;
        selectedColor?: string;
    }
    Index

    Properties

    availableColors?: string[]

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

    change?: (color: string) => void

    Function to call when a color is selected.

    selectedColor?: string

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