Document more constructor options
This commit is contained in:
parent
2e0e4e69bb
commit
87c219748d
1 changed files with 14 additions and 9 deletions
|
@ -12,6 +12,11 @@ Process: [Main](../tutorial/quick-start.md#main-process)
|
|||
* `selectedIndex` - The index of the item the user selected
|
||||
* `highlight` Function - Called when the user taps any item
|
||||
* `highlightedIndex` - The index of the item the user touched
|
||||
* `selectedStyle` String - Selected item style. Defaults to `null`.
|
||||
* `overlayStyle` String - Selected overlay item style. Defaults to `null`.
|
||||
* `showArrowButtons` Boolean - Defaults to `false`.
|
||||
* `mode` String - Defaults to `free`.
|
||||
* `continuous` Boolean - Defaults to `true`.
|
||||
|
||||
### Instance Properties
|
||||
|
||||
|
@ -34,7 +39,7 @@ updates the control in the touch bar. Possible values:
|
|||
#### `touchBarSegmentedControl.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
|
||||
of the scrubber item instead of being placed behind it. Updating this value immediately updates the control in the
|
||||
touch bar. Possible values:
|
||||
|
||||
* `background` - Maps to `[NSScrubberSelectionStyle roundedBackgroundStyle]`
|
||||
|
|
Loading…
Reference in a new issue