OptionalchangeOptionalmodeThe selection mode of the control:
An array of segments to place in this control.
OptionalsegmentStyle of the segments:
OptionalselectedThe index of the currently selected segment, will update automatically with user
interaction. When the mode is multiple it will be the last selected item.
Called when the user selects a new segment.