electron/docs/api/touch-bar-spacer.md
2017-03-17 10:56:41 -07:00

13 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.