electron/docs/api/touch-bar-spacer.md

14 lines
424 B
Markdown
Raw Normal View History

2017-03-03 17:54:46 +00:00
## Class: TouchBarSpacer
> Create a spacer between two items in the touch bar for native macOS applications
Process: [Main](../tutorial/quick-start.md#main-process)
2017-03-05 06:09:35 +00:00
### `new TouchBarSpacer(options)`
2017-03-03 17:54:46 +00:00
* `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.