From bdc7d38f48ee4c6f16b7922dd0181003665afb7c Mon Sep 17 00:00:00 2001 From: Dustin Date: Thu, 27 Jul 2017 07:51:19 +0200 Subject: [PATCH] Removed mention of SegmentedControl in description --- docs/api/touch-bar-scrubber.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api/touch-bar-scrubber.md b/docs/api/touch-bar-scrubber.md index 31f65d8770cb..b5721b63cba4 100644 --- a/docs/api/touch-bar-scrubber.md +++ b/docs/api/touch-bar-scrubber.md @@ -22,12 +22,12 @@ Process: [Main](../tutorial/quick-start.md#main-process) The following properties are available on instances of `TouchBarScrubber`: -#### `touchBarSegmentedControl.items` +#### `touchBarScrubber.items` A `ScrubberItem[]` array representing the items in this scrubber. Updating this value immediately updates the control in the touch bar. Updating deep properties inside this array **does not update the touch bar**. -#### `touchBarSegmentedControl.selectedStyle` +#### `touchBarScrubber.selectedStyle` A `String` representing the style that selected items in the scrubber should have. Updating this value immediately updates the control in the touch bar. Possible values: @@ -36,7 +36,7 @@ updates the control in the touch bar. Possible values: * `outline` - Maps to `[NSScrubberSelectionStyle outlineOverlayStyle]` * `null` - Actually null, not a string, removes all styles -#### `touchBarSegmentedControl.overlayStyle` +#### `touchBarScrubber.overlayStyle` A `String` representing the style that selected items in the scrubber should have. This style is overlayed on top of the scrubber item instead of being placed behind it. Updating this value immediately updates the control in the @@ -46,12 +46,12 @@ touch bar. Possible values: * `outline` - Maps to `[NSScrubberSelectionStyle outlineOverlayStyle]` * `null` - Actually null, not a string, removes all styles -#### `touchBarSegmentedControl.showArrowButtons` +#### `touchBarScrubber.showArrowButtons` A `Boolean` representing whether to show the left / right selection arrows in this scrubber. Updating this value immediately updates the control in the touch bar. -#### `touchBarSegmentedControl.mode` +#### `touchBarScrubber.mode` A `String` representing the mode of this scrubber. Updating this value immediately updates the control in the touch bar. Possible values: @@ -59,7 +59,7 @@ updates the control in the touch bar. Possible values: * `fixed` - Maps to `NSScrubberModeFixed` * `free` - Maps to `NSScrubberModeFree` -#### `touchBarSegmentedControl.continuous` +#### `touchBarScrubber.continuous` A `Boolean` representing whether this scrubber is continuous or not. Updating this value immediately updates the control in the touch bar.