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

399 B

Class: TouchBarGroup

Create a group in the touch bar for native macOS applications

Process: Main
This class is not exported from the 'electron' module. It is only available as a return value of other methods in the Electron API.

new TouchBarGroup(options)

  • options Object
    • items TouchBar - Items to display as a group.