Trilium Frontend API
    Preparing search index...

    Class TouchBarScrubber

    Index

    Constructors

    Properties

    continuous: boolean

    A boolean representing whether this scrubber is continuous or not. Updating this value immediately updates the control in the touch bar.

    items: ScrubberItem[]

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

    mode: "fixed" | "free"

    A string representing the mode of this scrubber. Updating this value immediately updates the control in the touch bar. Possible values:

    • fixed - Maps to NSScrubberModeFixed.
    • free - Maps to NSScrubberModeFree.
    overlayStyle: "none" | "background" | "outline"

    A string representing the style that selected items in the scrubber should have. This style is overlaid on top of the scrubber item instead of being placed behind it. Updating this value immediately updates the control in the touch bar. Possible values:

    • background - Maps to [NSScrubberSelectionStyle roundedBackgroundStyle].
    • outline - Maps to [NSScrubberSelectionStyle outlineOverlayStyle].
    • none - Removes all styles.
    selectedStyle: "none" | "background" | "outline"

    A string representing the style that selected items in the scrubber should have. Updating this value immediately updates the control in the touch bar. Possible values:

    • background - Maps to [NSScrubberSelectionStyle roundedBackgroundStyle].
    • outline - Maps to [NSScrubberSelectionStyle outlineOverlayStyle].
    • none - Removes all styles.
    showArrowButtons: boolean

    A boolean representing whether to show the left / right selection arrows in this scrubber. Updating this value immediately updates the control in the touch bar.