Skip to content

ElectronTouchBar

Unofficial

Electron TouchBar for building a macOS Touch Bar layout.

Import:

import type { ElectronTouchBar } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export class ElectronTouchBar

Properties

PropertyTypeDescription
escapeItemElectronTouchBarButton | ElectronTouchBarColorPicker | ElectronTouchBarGroup | ElectronTouchBarLabel | ElectronTouchBarPopover | ElectronTouchBarScrubber | ElectronTouchBarSegmentedControl | ElectronTouchBarSlider | ElectronTouchBarSpacer | nullThe item that replaces the "esc" button on the touch bar. Setting to null restores the default.
TouchBarButtontypeof ElectronTouchBarButtonReference to the ElectronTouchBarButton class.
TouchBarColorPickertypeof ElectronTouchBarColorPickerReference to the ElectronTouchBarColorPicker class.
TouchBarGrouptypeof ElectronTouchBarGroupReference to the ElectronTouchBarGroup class.
TouchBarLabeltypeof ElectronTouchBarLabelReference to the ElectronTouchBarLabel class.
TouchBarOtherItemsProxytypeof ElectronTouchBarOtherItemsProxyReference to the ElectronTouchBarOtherItemsProxy class.
TouchBarPopovertypeof ElectronTouchBarPopoverReference to the ElectronTouchBarPopover class.
TouchBarScrubbertypeof ElectronTouchBarScrubberReference to the ElectronTouchBarScrubber class.
TouchBarSegmentedControltypeof ElectronTouchBarSegmentedControlReference to the ElectronTouchBarSegmentedControl class.
TouchBarSlidertypeof ElectronTouchBarSliderReference to the ElectronTouchBarSlider class.
TouchBarSpacertypeof ElectronTouchBarSpacerReference to the ElectronTouchBarSpacer class.

Links to this page: