类:TouchBarSpacer
类:TouchBarSpacer
🌐 Class: TouchBarSpacer
在本地 macOS 应用的触控栏中创建两个项目之间的间隔
进程: 主进程
此类未从 'electron' 模块导出。它仅作为 Electron API 中其他方法的返回值提供。
new TouchBarSpacer(options)
实例属性
🌐 Instance Properties
TouchBarSpacer 实例上可用的属性如下:
🌐 The following properties are available on instances of TouchBarSpacer:
touchBarSpacer.size
表示间隔器尺寸的 string。可以是 small、large 或 flexible。
🌐 A string representing the size of the spacer. Can be small, large or flexible.