Merge pull request #8856 from electron/touch-bar-experimental
Mark TouchBar API as experimental
This commit is contained in:
commit
5b8fcb740c
2 changed files with 7 additions and 1 deletions
|
@ -1275,6 +1275,9 @@ Sets the touchBar layout for the current window. Specifying `null` or
|
|||
`undefined` clears the touch bar. This method only has an effect if the
|
||||
machine has a touch bar and is running on macOS 10.12.1+.
|
||||
|
||||
**Note:** The TouchBar API is currently experimental and may change or be
|
||||
removed in future Electron releases.
|
||||
|
||||
[blink-feature-string]: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5?l=62
|
||||
[quick-look]: https://en.wikipedia.org/wiki/Quick_Look
|
||||
[vibrancy-docs]: https://developer.apple.com/reference/appkit/nsvisualeffectview?language=objc
|
||||
|
|
|
@ -11,6 +11,9 @@ Process: [Main](../tutorial/quick-start.md#main-process)
|
|||
Creates a new touch bar with the specified items. Use
|
||||
`BrowserWindow.setTouchBar` to add the `TouchBar` to a window.
|
||||
|
||||
**Note:** The TouchBar API is currently experimental and may change or be
|
||||
removed in future Electron releases.
|
||||
|
||||
## Examples
|
||||
|
||||
Below is an example of a simple slot machine touch bar game with a button
|
||||
|
|
Loading…
Reference in a new issue