ElectronTouchBarSegmentedControlConstructorOptions.selectedIndex?
ElectronTouchBarSegmentedControlConstructorOptions › selectedIndex?
Unofficial
Type: number
The index of the currently selected segment, updated automatically with user interaction. When the mode ismultiple it will be the last selected item.