Process:
This class is not exported from the 'electron'
module. It is only available as a return value of other methods in the Electron API.
Instance Properties
The following properties are available on instances of TouchBarScrubber
:
touchBarScrubber.items
touchBarScrubber.selectedStyle
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 .outline
- Maps to[NSScrubberSelectionStyle outlineOverlayStyle]
.none
- Removes all styles.
touchBarScrubber.overlayStyle
A string
representing the style that selected items in the scrubber should have. This style is overlayed 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.
touchBarScrubber.showArrowButtons
touchBarScrubber.mode
A string
representing the mode of this scrubber. Updating this value immediately
updates the control in the touch bar. Possible values:
fixed
- Maps toNSScrubberModeFixed
.
touchBarScrubber.continuous
A representing whether this scrubber is continuous or not. Updating this value immediately updates the control in the touch bar.