Skip to content

ElectronTouchBarScrubberConstructorOptions.highlight method

ElectronTouchBarScrubberConstructorOptions › highlight

Unofficial

Callback invoked when the user taps any item.

Signature:

highlight(highlightedIndex: number): void

Parameters:

ParameterTypeDescription
highlightedIndexnumber

Returns: void