Back to Electron

Touch Bar Group

docs/api/touch-bar-group.md

42.0.0398 B
Original Source

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.