跳转至

Touch Bar 其他项目代理

类:TouchBarOtherItemsProxy

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

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

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

new TouchBarOtherItemsProxy()

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