W3cubDocs

/Electron

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.
      • large - Large space between items.
      • flexible - Take up all available space.

© 2013–2018 GitHub Inc.
Licensed under the MIT license.
https://electronjs.org/docs/api/touch-bar-spacer