Trilium Frontend API
    Preparing search index...

    Class TouchBarSegmentedControl

    Index

    Constructors

    Properties

    mode: "single" | "multiple" | "buttons"

    A string representing the current selection mode of the control. Can be single, multiple or buttons.

    A SegmentedControlSegment[] array representing the segments in this control. Updating this value immediately updates the control in the touch bar. Updating deep properties inside this array does not update the touch bar.

    segmentStyle: string

    A string representing the controls current segment style. Updating this value immediately updates the control in the touch bar.

    selectedIndex: number

    An Integer representing the currently selected segment. Changing this value immediately updates the control in the touch bar. User interaction with the touch bar will update this value automatically.