From 01b3db3d2f2d7427d3c55951a4906fa1db6e54f6 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 4 May 2017 14:15:48 -0700 Subject: [PATCH] :art: --- docs/api/touch-bar-segmented-control.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api/touch-bar-segmented-control.md b/docs/api/touch-bar-segmented-control.md index 893805dd643c..986fee4929f8 100644 --- a/docs/api/touch-bar-segmented-control.md +++ b/docs/api/touch-bar-segmented-control.md @@ -22,14 +22,14 @@ Process: [Main](../tutorial/quick-start.md#main-process) * `separated` - The segments in the control are displayed very close to each other but not touching. * `mode` String - (Optional) The selection mode of the control: - * `single` - Default. One item selected at a time, selecting one deselects the previously selected item - * `multiple` - Multiple items can be selected at a time - * `buttons` - Make the segments act as buttons, each segment can be pressed and released but never marked as active - * `segments` [SegmentedControlSegment[]](structures/segmented-control-segment.md) - An array of segments to place in this control - * `selectedIndex` Integer (Optional) - The index of the currently selected segment, will update automatically with user interaction. When the mode is multiple will be the last selected item + * `single` - Default. One item selected at a time, selecting one deselects the previously selected item. + * `multiple` - Multiple items can be selected at a time. + * `buttons` - Make the segments act as buttons, each segment can be pressed and released but never marked as active. + * `segments` [SegmentedControlSegment[]](structures/segmented-control-segment.md) - An array of segments to place in this control. + * `selectedIndex` Integer (Optional) - The index of the currently selected segment, will update automatically with user interaction. When the mode is multiple it will be the last selected item. * `change` Function - Called when the user selects a new segment - * `selectedIndex` Integer - The index of the segment the user selected - * `isSelected` Boolean - Whether as a result of user selection the segment is selected or not + * `selectedIndex` Integer - The index of the segment the user selected. + * `isSelected` Boolean - Whether as a result of user selection the segment is selected or not. ### Instance Properties