Skip to main content

Class: TouchBarGroup

Class: TouchBarGroup

Create a group in the touch bar for native macOS applications在触摸条中为本机macOS应用程序创建一个组

Process:进程:Main
This class is not exported from the 'electron' module. 此类不是从'electron'模块导出的。It is only available as a return value of other methods in the Electron API.它只能作为Electron API中其他方法的返回值使用。

new TouchBarGroup(options)

  • options Object
    • items TouchBar - Items to display as a group.要显示为一个组的项目。