The accessor for setting a selectedIndex and listening to changes that is used by the {@link NgModel} directives.
<SegmentedBar [(ngModel)]="model.test">
The accessor for setting a selectedIndex and listening to changes that is used by the {@link NgModel} directives.
Example
<SegmentedBar [(ngModel)]="model.test">