Merge pull request #8954 from electron/mark-touchbar-apis-with-experimental-label
Mark touch bar apis with _Experimental_ in docs
This commit is contained in:
commit
a215e8fb82
11 changed files with 11 additions and 11 deletions
|
@ -1267,7 +1267,7 @@ Controls whether to hide cursor when typing.
|
||||||
Adds a vibrancy effect to the browser window. Passing `null` or an empty string
|
Adds a vibrancy effect to the browser window. Passing `null` or an empty string
|
||||||
will remove the vibrancy effect on the window.
|
will remove the vibrancy effect on the window.
|
||||||
|
|
||||||
#### `win.setTouchBar(touchBar)` _macOS_
|
#### `win.setTouchBar(touchBar)` _macOS_ _Experimental_
|
||||||
|
|
||||||
* `touchBar` TouchBar
|
* `touchBar` TouchBar
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarButton(options)`
|
### `new TouchBarButton(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `label` String (optional) - Button text.
|
* `label` String (optional) - Button text.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarColorPicker(options)`
|
### `new TouchBarColorPicker(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `availableColors` String[] (optional) - Array of hex color strings to
|
* `availableColors` String[] (optional) - Array of hex color strings to
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarGroup(options)`
|
### `new TouchBarGroup(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `items` [TouchBar](touch-bar.md) - Items to display as a group.
|
* `items` [TouchBar](touch-bar.md) - Items to display as a group.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarLabel(options)`
|
### `new TouchBarLabel(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `label` String (optional) - Text to display.
|
* `label` String (optional) - Text to display.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarPopover(options)`
|
### `new TouchBarPopover(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `label` String (optional) - Popover button text.
|
* `label` String (optional) - Popover button text.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarScrubber(options)`
|
### `new TouchBarScrubber(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `items` [ScrubberItem[]](structures/scrubber-item.md) - An array of items to place in this scrubber
|
* `items` [ScrubberItem[]](structures/scrubber-item.md) - An array of items to place in this scrubber
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarSegmentedControl(options)`
|
### `new TouchBarSegmentedControl(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `segmentStyle` String - (Optional) Style of the segments:
|
* `segmentStyle` String - (Optional) Style of the segments:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarSlider(options)`
|
### `new TouchBarSlider(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `label` String (optional) - Label text.
|
* `label` String (optional) - Label text.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBarSpacer(options)`
|
### `new TouchBarSpacer(options)` _Experimental_
|
||||||
|
|
||||||
* `options` Object
|
* `options` Object
|
||||||
* `size` String (optional) - Size of spacer, possible values are:
|
* `size` String (optional) - Size of spacer, possible values are:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||||
|
|
||||||
### `new TouchBar(items)`
|
### `new TouchBar(items)` _Experimental_
|
||||||
|
|
||||||
* `items` ([TouchBarButton](touch-bar-button.md) | [TouchBarColorPicker](touch-bar-color-picker.md) | [TouchBarGroup](touch-bar-group.md) | [TouchBarLabel](touch-bar-label.md) | [TouchBarPopover](touch-bar-popover.md) | [TouchBarSlider](touch-bar-slider.md) | [TouchBarSpacer](touch-bar-spacer.md))[]
|
* `items` ([TouchBarButton](touch-bar-button.md) | [TouchBarColorPicker](touch-bar-color-picker.md) | [TouchBarGroup](touch-bar-group.md) | [TouchBarLabel](touch-bar-label.md) | [TouchBarPopover](touch-bar-popover.md) | [TouchBarSlider](touch-bar-slider.md) | [TouchBarSpacer](touch-bar-spacer.md))[]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue