Skip to content

ElectronTouchBarConstructorOptions

Unofficial

Options for creating a ElectronTouchBar.

Import:

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

Signature:

export interface ElectronTouchBarConstructorOptions

Properties

Property Type Description
escapeItem? ElectronTouchBarButton | ElectronTouchBarColorPicker | ElectronTouchBarGroup | ElectronTouchBarLabel | ElectronTouchBarPopover | ElectronTouchBarScrubber | ElectronTouchBarSegmentedControl | ElectronTouchBarSlider | ElectronTouchBarSpacer | null The item that will replace the "esc" button on the touch bar when set.
items? (ElectronTouchBarButton | ElectronTouchBarColorPicker | ElectronTouchBarGroup | ElectronTouchBarLabel | ElectronTouchBarPopover | ElectronTouchBarScrubber | ElectronTouchBarSegmentedControl | ElectronTouchBarSlider | ElectronTouchBarSpacer)[] The items to display in the touch bar.