TouchBar Type
⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ✔
[!WARNING] Electron's built-in classes cannot be subclassed in user code. For more information, see the FAQ.### Class: TouchBar> Create TouchBar layouts for native macOS applicationsProcess: Main
Constructors
| Constructor |
Description
|
Full Usage:
TouchBar(?items, ?escapeItem)
Parameters:
TouchBarItem[]
-
?escapeItem : Option<TouchBarItem>
-
Returns: TouchBar
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.escapeItem
|
A TouchBarItem that will replace the "esc" button on the touch bar when set. Setting to null restores the default "esc" button. Changing this value immediately updates the escape item in the touch bar. |
fable-electron-docs-api