Header menu logo fable-electron-docs-api

TouchBarSpacer Type

⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ❌

Create a spacer between two items in the touch bar for native macOS applicationsProcess: Main This class is not exported from the 'electron' module. It is only available as a return value of other methods in the Electron API.

Constructors

Constructor Description

TouchBarSpacer(?size)

Full Usage: TouchBarSpacer(?size)

Parameters:
    ?size : Size - Size of spacer, possible values are:

Returns: TouchBarSpacer
?size : Size

Size of spacer, possible values are:

Returns: TouchBarSpacer

Instance members

Instance member Description

this.size

Full Usage: this.size

A string representing the size of the spacer. Can be small, large or flexible.

Type something to start searching.