Skip to main content

Class: TouchBarOtherItemsProxy

Class: TouchBarOtherItemsProxy

Instantiates a special "other items proxy", which nests TouchBar elements inherited from Chromium at the space indicated by the proxy. 实例化一个特殊的“其他项代理”,它将从Chromium继承的TouchBar元素嵌套在代理所指示的空间中。By default, this proxy is added to each TouchBar at the end of the input. 默认情况下,此代理会在输入结束时添加到每个TouchBar。For more information, see the AppKit docs on NSTouchBarItemIdentifierOtherItemsProxy有关更多信息,请参阅NSTouchBarItemIdentifierOtherItemsProxy上的AppKit文档

Note: Only one instance of this class can be added per TouchBar.注意:每个TouchBar只能添加一个此类的实例。

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 TouchBarOtherItemsProxy()