Skip to content

ElectronTouchBarSegmentedControl

Unofficial

A segmented control item for a ElectronTouchBar.

Import:

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

Signature:

export class ElectronTouchBarSegmentedControl

Properties

PropertyTypeDescription
mode'buttons' | 'multiple' | 'single'The current selection mode of the control.
segmentsElectronSegmentedControlSegment[]The segments in this control.
segmentStylestringThe control's current segment style.
selectedIndexnumberThe currently selected segment.

Links to this page: