StatusBarItemUtilities.createLabelItem Function

Beta  

Creates a StatusBar item to display a label.

createLabelItem(id: string, section: StatusBarSection, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, labelSide: StatusBarLabelSide = StatusBarLabelSide.Right, overrides?: Partial<AbstractStatusBarLabelItem>): StatusBarLabelItem

Parameter Type Description
id string  
section StatusBarSection  
itemPriority number  
icon string | ConditionalStringValue  
label string | ConditionalStringValue  
labelSide StatusBarLabelSide  
overrides Partial<AbstractStatusBarLabelItem>  

Returns - StatusBarLabelItem

Defined in

Last Updated: 20 June, 2023