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

PropertyTypeDescription
escapeItem?ElectronTouchBarButton | ElectronTouchBarColorPicker | ElectronTouchBarGroup | ElectronTouchBarLabel | ElectronTouchBarPopover | ElectronTouchBarScrubber | ElectronTouchBarSegmentedControl | ElectronTouchBarSlider | ElectronTouchBarSpacer | nullThe 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.