mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
* 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>
624 B
624 B
Class: TouchBarSpacer
Create a spacer between two items in the touch bar for native macOS applications
Process: Main
new TouchBarSpacer(options)
optionsObjectsizeString (optional) - Size of spacer, possible values are:small- Small space between items. Maps toNSTouchBarItemIdentifierFixedSpaceSmall. This is the default.large- Large space between items. Maps toNSTouchBarItemIdentifierFixedSpaceLarge.flexible- Take up all available space. Maps toNSTouchBarItemIdentifierFlexibleSpace.