Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 639 Bytes

touch-bar-spacer.md

File metadata and controls

13 lines (9 loc) · 639 Bytes

Class: TouchBarSpacer

Create a spacer between two items in the touch bar for native macOS applications

Process: Main

new TouchBarSpacer(options) Experimental

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