mirror of
https://github.com/electron/electron.git
synced 2026-02-04 12:15:22 -05:00
14 lines
439 B
Markdown
14 lines
439 B
Markdown
## Class: TouchBarSpacer
|
|
|
|
> Create a spacer between two items in the touch bar for native macOS applications
|
|
|
|
Process: [Main](../tutorial/quick-start.md#main-process)
|
|
|
|
### `new TouchBarSpacer(options)` _Experimental_
|
|
|
|
* `options` Object
|
|
* `size` String (optional) - Size of spacer, possible values are:
|
|
* `small` - Small space between items.
|
|
* `large` - Large space between items.
|
|
* `flexible` - Take up all available space.
|