跳转至

Touch Bar Other Items Proxy

类:TouchBarOtherItemsProxy

实例化一个特殊的“其他项目代理”,它会将继承自 Chromium 的 TouchBar 元素嵌套在代理所指示的空间中。默认情况下,此代理会被添加到每个 TouchBar 的输入末尾。更多信息,请参阅 AppKit 文档中的 NSTouchBarItemIdentifierOtherItemsProxy

[!NOTE] 每个 TouchBar 只能添加一个此类的实例。

进程:Main
此类不会从 'electron' 模块中导出。它只能作为 Electron API 中其他方法的返回值使用。

new TouchBarOtherItemsProxy()

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron