Class: TouchBarSpacer
Class: TouchBarSpacer
Create a spacer between two items in the touch bar for native macOS applications为本机macOS应用程序在触摸条中的两个项目之间创建一个间隔符
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 TouchBarSpacer(options)
Instance Properties实例属性
The following properties are available on instances of TouchBarSpacer:TouchBarSpacer实例上提供了以下属性:
touchBarSpacer.size
A 表示垫片尺寸的string representing the size of the spacer. string。Can be 可以是small, large or flexible.small、large或flexible。