跳至主要內容

類別:TouchBarOtherItemsProxy

類別:TouchBarOtherItemsProxy

實例化一個特殊的「其他項目代理」,它會將從 Chromium 繼承的 TouchBar 元素,巢狀放置在代理所指示的空間中。預設情況下,此代理會新增至每個 TouchBar 的輸入末尾。如需更多資訊,請參閱 AppKit 文件中關於 NSTouchBarItemIdentifierOtherItemsProxy 的說明

注意:每個 TouchBar 只能新增此類別的一個實例。

處理程序:主要
此類別並未從 'electron' 模組匯出。它僅作為 Electron API 中其他方法的傳回值提供。

new TouchBarOtherItemsProxy()