Properties required to create a status bar item

Hierarchy

  • IStatusBarItemCreationParams

Properties

alignment?: StatusBarAlignment

Remarks

Alignment of item within status bar. If undefined, it will be left aligned.

icon?: string

Remarks

Optional icon image resource of the item.

size?: number

Remarks

Size of the status bar item. If undefined, it will wrap text content.

Remarks

Default localized display text of the item. If undefined, it will be empty string.

visible?: boolean

Remarks

Default visibility of the item. If undefined, it will be true.