Skip to content

ElectronTouchBarSegmentedControlConstructorOptions.selectedIndex?

ElectronTouchBarSegmentedControlConstructorOptions › selectedIndex?

Unofficial

Type: number

The index of the currently selected segment, updated automatically with user interaction. When the mode is multiple it will be the last selected item.