22fb4f85e5
* docs: document what experimental means explicitly * Apply suggestions from code review Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org> * Update experimental.md Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
13 lines
624 B
Markdown
13 lines
624 B
Markdown
## Class: TouchBarSpacer
|
|
|
|
> Create a spacer between two items in the touch bar for native macOS applications
|
|
|
|
Process: [Main](../tutorial/application-architecture.md#main-and-renderer-processes)
|
|
|
|
### `new TouchBarSpacer(options)`
|
|
|
|
* `options` Object
|
|
* `size` String (optional) - Size of spacer, possible values are:
|
|
* `small` - Small space between items. Maps to `NSTouchBarItemIdentifierFixedSpaceSmall`. This is the default.
|
|
* `large` - Large space between items. Maps to `NSTouchBarItemIdentifierFixedSpaceLarge`.
|
|
* `flexible` - Take up all available space. Maps to `NSTouchBarItemIdentifierFlexibleSpace`.
|