📝 Add docs tip about testing Touch Bar usage
Disclosure: I made it. Most devs don't have the new MacBook with Touch Bar, but would like to support it. I think it would be useful to point out how to easily develop and test Touch Bar usage in Electron apps. [ci skip]
This commit is contained in:
parent
81879f8f8a
commit
39caa6ad23
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ Creates a new touch bar with the specified items. Use
|
||||||
**Note:** The TouchBar API is currently experimental and may change or be
|
**Note:** The TouchBar API is currently experimental and may change or be
|
||||||
removed in future Electron releases.
|
removed in future Electron releases.
|
||||||
|
|
||||||
|
**Tip:** If you don't have a MacBook with Touch Bar, you can use
|
||||||
|
[Touch Bar Simulator](https://github.com/sindresorhus/touch-bar-simulator)
|
||||||
|
to test Touch Bar usage in your app.
|
||||||
|
|
||||||
### Instance Properties
|
### Instance Properties
|
||||||
|
|
||||||
The following properties are available on instances of `TouchBar`:
|
The following properties are available on instances of `TouchBar`:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue